Removed unused dependencies in XMLResultPrinter class