Fix `new` and `old` fields in code locations
Instead of being nullable() the new and old fields in a code
location are optional.
Instead of being nullable() the new and old fields in a code
location are optional.