public static function autoload($className)
    {
        // Not in Modl namespace, go to the next autoloader.
        if (strncmp(self::$namespace, $className, strlen(self::$namespace)) !== 0) {
            return;
        }

        // Remove root namespace.
        $rootLess = substr($className, strlen(self::$namespace));

        // Get the absolute path to the file.
        $file = __DIR__ . DIRECTORY_SEPARATOR;
        $file .= str_replace('\\', DIRECTORY_SEPARATOR, $rootLess) . '.php';

        // Require file if exist, else go to the next autoloader.
        if (file_exists($file)) {
            require $file;
        }
    }