diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,7 +1,7 @@
 The following license covers this documentation, and the source code, except
 where otherwise indicated.
 
-Copyright 2018-2019, Alexey Radkov. All rights reserved.
+Copyright 2018-2020, Alexey Radkov. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
diff --git a/NgxExport/Tools.hs b/NgxExport/Tools.hs
--- a/NgxExport/Tools.hs
+++ b/NgxExport/Tools.hs
@@ -4,7 +4,7 @@
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  NgxExport.Tools
--- Copyright   :  (c) Alexey Radkov 2018-2019
+-- Copyright   :  (c) Alexey Radkov 2018-2020
 -- License     :  BSD-style
 --
 -- Maintainer  :  alexey.radkov@gmail.com
@@ -177,7 +177,7 @@
 
 class FromByteString a where
     type WrappedT a
-    fromByteString :: Maybe a -> ByteString -> Maybe (WrappedT a)
+    fromByteString :: a -> ByteString -> Maybe (WrappedT a)
 
 instance Read a => FromByteString (Readable a) where
     type WrappedT (Readable a) = a
@@ -329,14 +329,14 @@
 --
 -- Returns 'Nothing' if reading fails.
 readFromByteString :: Read a => ByteString -> Maybe a
-readFromByteString = fromByteString (Nothing :: Maybe (Readable a))
+readFromByteString = fromByteString (undefined :: Readable a)
 
 -- | Reads an object of a custom type implementing an instance of 'FromJSON'
 --   from a 'ByteString'.
 --
 -- Returns 'Nothing' if reading fails.
 readFromByteStringAsJSON :: FromJSON a => ByteString -> Maybe a
-readFromByteStringAsJSON = fromByteString (Nothing :: Maybe (ReadableAsJSON a))
+readFromByteStringAsJSON = fromByteString (undefined :: ReadableAsJSON a)
 
 -- | Reads a pointer to the Nginx request object followed by an object of
 --   a custom type implementing an instance of 'Read' from a 'ByteString'.
@@ -599,7 +599,7 @@
                                      ) (return . Just)
                            |]
                    else [|return $
-                              fromByteString (Nothing :: Maybe ByteString)
+                              fromByteString (undefined :: ByteString)
                                   $(eConfBs)
                         |]
         (waitTime, runService) =
diff --git a/ngx-export-tools.cabal b/ngx-export-tools.cabal
--- a/ngx-export-tools.cabal
+++ b/ngx-export-tools.cabal
@@ -1,5 +1,5 @@
 name:                       ngx-export-tools
-version:                    0.4.9.0
+version:                    0.4.9.1
 synopsis:                   Extra tools for Nginx haskell module
 description:                Extra tools for
         <http://github.com/lyokha/nginx-haskell-module Nginx haskell module>.
@@ -10,7 +10,7 @@
 author:                     Alexey Radkov <alexey.radkov@gmail.com>
 maintainer:                 Alexey Radkov <alexey.radkov@gmail.com>
 stability:                  experimental
-copyright:                  2018-2019 Alexey Radkov
+copyright:                  2018-2020 Alexey Radkov
 category:                   Network
 build-type:                 Simple
 cabal-version:              1.20
