preLoadXml renamed to loadXml for consistency