Added Serializable for Sex class.