diff --git a/Data/IP.hs b/Data/IP.hs
--- a/Data/IP.hs
+++ b/Data/IP.hs
@@ -11,7 +11,6 @@
         , IP
         , IPHeader
         , dummyIPv4Header
-        , module Data.IPv6
         ) where
 
 import Control.Monad (sequence, when, liftM)
@@ -116,8 +115,8 @@
 instance L3Header IPv4Header IPv4 CSum where
         getChecksum = checksum
         setChecksum h c = h { checksum = c }
-        src = source
-        dst = destination
+        src = Data.IP.source
+        dst = Data.IP.destination
         pseudoHeader h = runPut (do
                 put (src h)
                 put (dst h)
diff --git a/Data/IPv6.hs b/Data/IPv6.hs
--- a/Data/IPv6.hs
+++ b/Data/IPv6.hs
@@ -2,7 +2,7 @@
 
 module Data.IPv6
         ( IPv6 (..)
-        , IPv6Header
+        , IPv6Header (..)
         ) where
 
 import Control.Monad (sequence, when)
diff --git a/network-data.cabal b/network-data.cabal
--- a/network-data.cabal
+++ b/network-data.cabal
@@ -1,5 +1,5 @@
 name:           network-data
-version:        0.5.1
+version:        0.5.2
 license:        BSD3
 license-file:   LICENSE
 author:         Thomas DuBuisson <thomas.dubuisson@gmail.com>
