diff --git a/happstack-hsp.cabal b/happstack-hsp.cabal
--- a/happstack-hsp.cabal
+++ b/happstack-hsp.cabal
@@ -1,5 +1,5 @@
 Name:                happstack-hsp
-Version:             6.2.6
+Version:             6.2.7
 Synopsis:            Support for using HSP templates in Happstack
 Description:         Happstack is a web application framework. HSP is an XML templating solution. This package makes it easy to use HSP templates with Happstack.
 Homepage:            http://www.happstack.com/
diff --git a/src/Happstack/Server/HSP/HTML.hs b/src/Happstack/Server/HSP/HTML.hs
--- a/src/Happstack/Server/HSP/HTML.hs
+++ b/src/Happstack/Server/HSP/HTML.hs
@@ -17,7 +17,8 @@
   , Response
   )
 import HSP
-import HSP.ServerPartT ()
+import HSP.ServerPartT      () -- import 'instance XMLGen ServerPartT'
+import Happstack.Server.HSX () -- import 'instance Happstack XMLGenT'
 import qualified HSX.XMLGenerator as HSX
 
 instance ToMessage XML where
