public function findTemplate(string $index): Template
    {
        $template = $this->getByIndex($index);

        if ($template instanceof Template) {
            return $template;
        }

        // Oops, template not found
        throw TemplateNotFoundException::create($index);
    }