Made Size model Serializable