public static function bootstrap(ClassLoader $loader)
    {
        $app = new Strata();
        $app->setClassLoader($loader);

        // Expose the app context to the current process.
        self::$reference = $app;

        return $app;
    }