Typeable instance for older GHC