protected function doRender(array $options)
    {
        $template = isset($options['template']) ? $options['template'] : $this->getDefaultTemplate();
        unset($options['template']);

        return $this->templateEngine->render($template, $options);
    }