Switch instance definition to XML file.