public function run()
    {
        // Configure view & widget class.
        ViewFactory::make(\Cygnite\Mvc\View\View::class, $this->container, function ($v) {
            $v->setContainer($this->container);

            // Configure widget and register into container.
            $widget = new \Cygnite\Mvc\View\Widget($this->paths, $v->getOutput());
            $this->container->set('widget', $widget);
        });
    }