protected static function _initializeTheme($registeredTheme)
    {
        list($theme, $themeName) = pluginSplit($registeredTheme);
        $themeNamespace = preg_replace('/\\//', '\\', $theme);
        $themeClass = $themeNamespace . '\\' . $themeName;
        
        try {
            $theme = new $themeClass();
        } catch (Exception $e) {
            throw new Exception(__d('wasabi_core', 'The theme "{0}" could not be instatiated. Check the namespace and file location.', $themeClass));
        }

        return $theme;
    }