public function render($template, array $parameters = array(), Response $response = null)
    {
        if ( ! $response instanceof Response) {
            $response = new Response();
        }

        $response->setContent($this->engine->render($template, $parameters));

        return $response;
    }