Before refactoring XMLParser