XMLParser class injection.