diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index 30e348872b69270f6908fdf1c95ea8d9e4cca32c..74f85e63115163d4d7f9678a8740e16533af0f5c 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -11,7 +11,6 @@ namespace SimpleSAML\XHTML;
 
 use JaimePerez\TwigConfigurableI18n\Twig\Environment as Twig_Environment;
 use JaimePerez\TwigConfigurableI18n\Twig\Extensions\Extension\I18n as Twig_Extensions_Extension_I18n;
-use \SimpleSAML\XHTML\TemplateLoader;
 
 class Template
 {
@@ -266,7 +265,6 @@ class Template
         return $twig;
     }
 
- 
     /**
      * Add overriding templates from the configured theme.
      *