Made xml serialization public