protected function loadBuilders(array $builders, ContainerBuilder $container)
    {
        foreach ($builders as $builderName => $builder) {
            $definition = $container
                ->register(
                    'elcodi.sitemap_builder.' . $builderName,
                    'Elcodi\Component\Sitemap\Builder\SitemapBuilder'
                )
                ->addArgument(new Reference($builder['renderer']))
                ->addArgument($builder['path'])
                ->setPublic(true);

            $this
                ->addBuilderElements(
                    $definition,
                    $builder['statics'],
                    'static'
                )
                ->addBuilderElements(
                    $definition,
                    $builder['blocks'],
                    'entity'
                );
        }

        return $this;
    }