private void buildModels(ModelNode node,
                             ApplicationType applicationType,
                             DeployState deployState,
                             VespaModel vespaModel,
                             TreeConfigProducer<AnyConfigProducer> parent,
                             List<Element> elements) {
        for (Element servicesElement : elements) {
            ConfigModel model = buildModel(node, applicationType, deployState, vespaModel, parent, servicesElement);
            if (model.isServing())
                add(model);
        }
    }
Creates all the config models specified in the given XML element and
passes their respective XML node as parameter.

@param root The Root to set as parent for all plugins
@param servicesRoot XML root node of the services file
config-model/src/main/java/com/yahoo/config/model/ConfigModelRepo.java