diff --git a/Data/Conduit/OpenPGP/Decrypt.hs b/Data/Conduit/OpenPGP/Decrypt.hs
--- a/Data/Conduit/OpenPGP/Decrypt.hs
+++ b/Data/Conduit/OpenPGP/Decrypt.hs
@@ -23,7 +23,6 @@
 import Data.Conduit.Serialization.Binary (conduitGet)
 import Data.Conduit.OpenPGP.Compression (conduitDecompress)
 import qualified Data.Conduit.List as CL
-import Data.Default.Class (Default, def)
 import Data.Maybe (fromJust, isNothing)
 import Data.Binary (get)
 
@@ -38,8 +37,8 @@
   , _lastLDP   :: Maybe LiteralData
 } deriving (Eq, Show)
 
-instance Default RecursorState where
-    def = RecursorState 0 Nothing Nothing Nothing
+def :: RecursorState
+def = RecursorState 0 Nothing Nothing Nothing
 
 type InputCallback m = String -> m BL.ByteString
 
diff --git a/hOpenPGP.cabal b/hOpenPGP.cabal
--- a/hOpenPGP.cabal
+++ b/hOpenPGP.cabal
@@ -1,5 +1,5 @@
 Name:                hOpenPGP
-Version:             2.6.1
+Version:             2.6.2
 Synopsis:            native Haskell implementation of OpenPGP (RFC4880)
 Description:         native Haskell implementation of OpenPGP (RFC4880), plus Camellia (RFC5581), plus ECC (RFC6637)
 Homepage:            https://salsa.debian.org/clint/hOpenPGP
@@ -203,9 +203,9 @@
                , containers
                , cryptonite            >= 0.11
                , crypto-cipher-types
-               , data-default-class
                , errors
                , hashable
+               , incremental-parser
                , ixset-typed
                , lens                  >= 3.0
                , memory
@@ -228,10 +228,6 @@
     build-depends: network-uri >= 2.6
   else
     build-depends: network-uri < 2.6, network < 2.6
-  if !impl(ghc >= 8.4)
-    build-depends: incremental-parser < 0.3
-  else
-    build-depends: incremental-parser >= 0.3
   default-language: Haskell2010
 
 
@@ -256,7 +252,6 @@
                , containers
                , cryptonite            >= 0.11
                , crypto-cipher-types
-               , data-default-class
                , errors
                , hashable
                , incremental-parser
@@ -307,7 +302,6 @@
                , containers
                , cryptonite            >= 0.11
                , crypto-cipher-types
-               , data-default-class
                , errors
                , hashable
                , incremental-parser
@@ -343,4 +337,4 @@
 source-repository this
   type:     git
   location: https://salsa.debian.org/clint/hOpenPGP.git
-  tag:      v2.6.1
+  tag:      v2.6.2
