protected function autoLoadModules()
    {
        $extDirectory = __DIR__ . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR;
        $extDirectories = glob($extDirectory . "*", GLOB_ONLYDIR);

        foreach ($extDirectories as $directory):
            if (basename($directory) === "core"):
                continue;
            endif;

            # Get className and classPath
            $className = substr(basename(glob($directory . "*/Theme*.php")[0]), 0, -4);
            $classPath = '\\NetLimeTheme\\Extensions\\' . $className;
            $this->registerModule($className, new $classPath());
        endforeach;
    }