Made all ModelCC classes serializable