public static function remove($name)
    {
        if (!static::has($name)) {
            throw new \InvalidArgumentException(sprintf('The id generator "%s" does not exists.', $name));
        }

        unset(static::$map[$name], static::$idGenerators[$name]);
    }