diff --git a/dynamic-state.cabal b/dynamic-state.cabal
--- a/dynamic-state.cabal
+++ b/dynamic-state.cabal
@@ -1,5 +1,5 @@
 name:                dynamic-state
-version:             0.2.1.0
+version:             0.2.2.0
 synopsis:            Optionally serializable dynamic state keyed by type
 description:         Optionally serializable dynamic state keyed by type
 license:             GPL-2
@@ -19,7 +19,7 @@
     Data.DynamicState.Serializable
 
   build-depends:
-      base >=4.6 && <4.9
+      base >=4.6 && <5.0
     , binary
     , bytestring
     , unordered-containers
diff --git a/src/Data/ConcreteTypeRep.hs b/src/Data/ConcreteTypeRep.hs
--- a/src/Data/ConcreteTypeRep.hs
+++ b/src/Data/ConcreteTypeRep.hs
@@ -97,7 +97,7 @@
 toTyConRep :: TyCon -> TyConRep
 fromTyConRep :: TyConRep -> TyCon
 type TyConRep = (String, String, String)
-toTyConRep (TyCon _ pack mod' name) = (pack, mod', name)
+toTyConRep tc = (tyConPackage tc, tyConModule tc, tyConName tc)
 fromTyConRep (pack, mod', name) = mkTyCon3 pack mod' name
 
 newtype SerialRep = SR (TyConRep, [SerialRep]) deriving(Binary)
