diff --git a/Codec/Encryption/OpenPGP/KeyringParser.hs b/Codec/Encryption/OpenPGP/KeyringParser.hs
--- a/Codec/Encryption/OpenPGP/KeyringParser.hs
+++ b/Codec/Encryption/OpenPGP/KeyringParser.hs
@@ -25,7 +25,6 @@
 ) where
 
 import Control.Applicative (many, (<$>), (<|>))
-import Data.IxSet (empty, insert)
 import Data.Monoid (Monoid, (<>), mconcat)
 
 import Codec.Encryption.OpenPGP.Types
diff --git a/Codec/Encryption/OpenPGP/Serialize.hs b/Codec/Encryption/OpenPGP/Serialize.hs
--- a/Codec/Encryption/OpenPGP/Serialize.hs
+++ b/Codec/Encryption/OpenPGP/Serialize.hs
@@ -6,7 +6,6 @@
 module Codec.Encryption.OpenPGP.Serialize (
    putSKAddendum
  , getSecretKey
- , putTK'
 ) where
 
 import Control.Applicative ((<$>),(<*>))
@@ -159,9 +158,9 @@
     get = getSignaturePayload
     put = putSignaturePayload
 
--- instance Serialize TK where
---     get = undefined
---     put = putTK
+instance Serialize TK where
+    get = undefined
+    put = putTK
 
 getSigSubPacket :: Get SigSubPacket
 getSigSubPacket = do
@@ -1220,8 +1219,7 @@
     putWord8 pv
     putByteString bs
 
-putTK' key = runPut $ putTK key
-
+putTK :: TK -> Put
 putTK key = do
     put (PublicKey (key^.tkKey._1))
     mapM_ (put . Signature) (_tkRevs key)
diff --git a/hOpenPGP.cabal b/hOpenPGP.cabal
--- a/hOpenPGP.cabal
+++ b/hOpenPGP.cabal
@@ -1,5 +1,5 @@
 Name:                hOpenPGP
-Version:             1.5
+Version:             1.5.1
 Synopsis:            native Haskell implementation of OpenPGP (RFC4880)
 Description:         native Haskell implementation of OpenPGP (RFC4880)
 Homepage:            http://floss.scru.org/hOpenPGP/
@@ -255,4 +255,4 @@
 source-repository this
   type:     git
   location: git://git.debian.org/users/clint/hOpenPGP.git
-  tag:      v1.5
+  tag:      v1.5.1
