public function removeBuilder(ManagerBuilder $builder)
    {
        $builderName = (string) $builder->getName();
        if ($builderName === '') {
            throw new \RuntimeException('Only named manager builders allowed');
        }

        if (array_key_exists($builderName, $this->builders)) {
            unset($this->builders[$builderName]);
        }
    }