diff --git a/inf-backprop.cabal b/inf-backprop.cabal
--- a/inf-backprop.cabal
+++ b/inf-backprop.cabal
@@ -1,11 +1,11 @@
 cabal-version: 1.18
 
--- This file has been generated from package.yaml by hpack version 0.35.1.
+-- This file has been generated from package.yaml by hpack version 0.37.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:           inf-backprop
-version:        0.1.0.2
+version:        0.1.1.0
 synopsis:       Automatic differentiation and backpropagation.
 description:    ![Second order derivative of a composition](docs/doc/images/composition_second_derivative.png)
                 .
diff --git a/src/IsomorphismClass/Extra.hs b/src/IsomorphismClass/Extra.hs
--- a/src/IsomorphismClass/Extra.hs
+++ b/src/IsomorphismClass/Extra.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 {-# OPTIONS_HADDOCK show-extensions #-}
 
@@ -9,13 +10,19 @@
 -- Extra instances for 'IsomorphicTo' typeclass from 'isomorphism-class' package.
 module IsomorphismClass.Extra () where
 
+#if MIN_VERSION_isomorphism_class(0,3,0)
+#else
 import Control.Category (id)
+#endif
 import Data.Void (Void, absurd)
 import IsomorphismClass (IsomorphicTo, to)
 import Prelude (Either (Left, Right), fst, snd)
 
+#if MIN_VERSION_isomorphism_class(0,3,0)
+#else
 instance {-# INCOHERENT #-} IsomorphicTo a a where
   to = id
+#endif
 
 -- Type products
 
