add support for reloadFromXML