private function setCommonTemplateParameters()
    {
        $this->setTemplateParameter('application', APPLICATION);
        $this->setTemplateParameter('area', AREA);
        $this->setTemplateParameter('subject', $this->name);
        $this->setTemplateParameter('language', LANGUAGE);
        $this->setTemplateParameter('configuration', $this->configuration);
        $this->setTemplateParameter('route', $this->route);
        $this->setTemplateParameter('translations', $this->translations);
        $this->setTemplateParameter('action', $this->action);
        $this->setTemplateParameter('ancestors', $this->ancestors);
        if($this->hasMessages && !empty($this->storedMessages)) {
            $this->setTemplateParameter('messages', $this->storedMessages);
        }
    }