Add (de)serialization for Coord and Position.