ghc/TH compatibility