@Override
    public Collection<ConfigModelBuilder> resolve(ConfigModelId id) {
        Set<ConfigModelBuilder> matchingBuilders = new HashSet<>(chained().resolve(id));
        for (ConfigModelBuilder builder : builders)
            if (builder.handlesElements().contains(id))
                matchingBuilders.add(builder);
        return matchingBuilders;
    }
Constructs a registry of config models.

@param builderCollection A collection of builders used to populate the registry.
config-model/src/main/java/com/yahoo/config/model/MapConfigModelRegistry.java