diff --git a/json-api-lib.cabal b/json-api-lib.cabal
--- a/json-api-lib.cabal
+++ b/json-api-lib.cabal
@@ -1,7 +1,7 @@
 cabal-version:       2.0
 
 name:                json-api-lib
-version:             0.2.0.0
+version:             0.2.1.0
 homepage:            https://github.com/shirren/json-api-lib
 bug-reports:         https://github.com/shirren/json-api-lib/issues
 license:             MIT
diff --git a/src/Network/JSONApi/Pagination.hs b/src/Network/JSONApi/Pagination.hs
--- a/src/Network/JSONApi/Pagination.hs
+++ b/src/Network/JSONApi/Pagination.hs
@@ -21,7 +21,7 @@
     getPaginationPageSize :: PageSize
   , getPaginationPageNum :: PageNum
   , getPaginationResourceCount :: ResourceCount
-} deriving (G.Generic)
+} deriving (Eq, G.Generic)
 
 instance ToJSON Pagination where
   toJSON (Pagination (PageSize size) (PageNum num) (ResourceCount count)) =
@@ -45,18 +45,18 @@
 -}
 newtype PageSize = PageSize {
   getPageSize :: Int
-} deriving (G.Generic, Show)
+} deriving (Eq, G.Generic, Show)
 
 instance NFData PageSize
 
 newtype PageNum = PageNum {
   getPageNum :: Int
-} deriving (G.Generic, Show)
+} deriving (Eq, G.Generic, Show)
 
 instance NFData PageNum
 
 newtype ResourceCount = ResourceCount {
   getResourceCount :: Int
-} deriving (G.Generic, Show)
+} deriving (Eq, G.Generic, Show)
 
 instance NFData ResourceCount
