public function popTemplateDefinition()
    {
        if (count($this->tplStack) > 0) {
            list ($templateDefinition, $fallbackToDefaultTemplate) = array_pop($this->tplStack);

            $this->setTemplateDefinition($templateDefinition, $fallbackToDefaultTemplate);
        }
    }