protected function addSnippets()
    {
        $queue = null;
        foreach ($this->queues as $q) {
            if ($q instanceof SnippetQueue) {
                $queue = $q;
                break;
            }
        }
        if (!$queue) {
            return;
        }

        $generatorSnippet = (new Snippet())
            ->setLocation(Target::END_OF_HEAD)
            ->setCallback('<meta name="generator" content="Bolt">')
        ;
        $queue->add($generatorSnippet);

        if ($canonicalUrl = $this->canonical->getUrl()) {
            $canonicalSnippet = (new Snippet())
                ->setLocation(Target::END_OF_HEAD)
                ->setCallback($this->encode('<link rel="canonical" href="%s">', $canonicalUrl))
            ;
            $queue->add($canonicalSnippet);
        }

        if ($favicon = $this->config->get('general/favicon')) {
            $faviconUrl = $this->packages->getUrl($favicon, 'theme');
            $faviconSnippet = (new Snippet())
                ->setLocation(Target::END_OF_HEAD)
                ->setCallback($this->encode('<link rel="shortcut icon" href="%s">', $faviconUrl))
            ;
            $queue->add($faviconSnippet);
        }
    }