added .xml exceptions to remove xml method