Updated the XML serialization.