diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index 27e6d662b82e6cb3b5994dd32c4a9f9f7ca60df6..06a9a163d67247e79b9c3c75077c9e4535444ab5 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -227,8 +227,8 @@ class Template
             );
         } // TODO: add a branch for the old SimpleSAMLphp backend
 
-        $twig = new \Twig_Environment($loader, $options);
-        $twig->addExtension(new \Twig_Extensions_Extension_I18n());
+        $twig = new Twig_Environment($loader, $options);
+        $twig->addExtension(new Twig_Extensions_Extension_I18n());
 
         // initialize some basic context
         $langParam = $this->configuration->getString('language.parameter.name', 'language');
@@ -520,7 +520,7 @@ class Template
     /**
      * Get the current instance of Twig in use.
      *
-     * @return false|\Twig_Environment The Twig instance in use, or false if Twig is not used.
+     * @return false|Twig_Environment The Twig instance in use, or false if Twig is not used.
      */
     public function getTwig()
     {