Added methods ConvertToXml to data objects.