protected function registerTemplates()
    {
        $this->hook->filter("theme_{$this->slug}_templates", function ($templates) {
            return array_merge($templates, $this->templates());
        })->dispatch();
    }