private function runRoutes()
    {
        if (class_exists($Router = 'Josantonius\Router\Router')) {
            if (isset($this->settings['routes'])) {
                $Router::add($this->settings['routes']);
                unset($this->settings['routes']);
            }
            $Router::dispatch();
        }
    }