private function registerModuleRoutes()
    {
        $this->app->singleton('typicms.routes', function (Application $app) {
            try {
                return $app->make('Pages')->with('files')->getForRoutes();
            } catch (Exception $e) {
                return [];
            }
        });
    }