add Twig namespaces for @pattern and @template if the TemplateTools are in use