public static function getLoader($loaderClass)
    {
        try {
            if (! array_key_exists($loaderClass, static::$loaderInstances)) {
                static::$loaderInstances[$loaderClass] = new $loaderClass;
            }

            return static::$loaderInstances[$loaderClass];
        } catch (Exception $exception) {
            throw new FailedToLoadConfigException(
                sprintf(
                    _('Could not instantiate the requested loader class "%1$s".'),
                    $loaderClass
                )
            );
        }
    }