Adding xml serialization