Added XmlIO functionality