Add Serializable attribute to Position.