private function collectAttributeFactories($container)
    {
        $attributeFactory = $container->getDefinition('metamodels.attribute_factory');
        foreach (array_keys($container->findTaggedServiceIds(self::TAG_ATTRIBUTE_FACTORY)) as $factory) {
            $attributeFactory->addMethodCall('addTypeFactory', [new Reference($factory)]);
        }
    }