Removed old XML parsing code