Added XML serialization class