Remove duplicate imports from xml modules.