Added method to create model_xml with global dependencies only.