Made points serializable