private ApplicationType getApplicationType(Element servicesRoot) {
        return XmlHelper.getOptionalAttribute(servicesRoot, "application-type")
                .map(ApplicationType::fromString)
                .orElse(ApplicationType.DEFAULT);
    }
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