diff --git a/massiv-persist.cabal b/massiv-persist.cabal
--- a/massiv-persist.cabal
+++ b/massiv-persist.cabal
@@ -1,5 +1,5 @@
 name:                massiv-persist
-version:             1.0.0.2
+version:             1.0.0.3
 synopsis:            Compatibility of 'massiv' with 'persist'
 description:         Orphan 'Persist' class instances from <https://hackage.haskell.org/package/persist persist> package that allow serialization of arrays defined in <https://hackage.haskell.org/package/massiv massiv> package
 homepage:            https://github.com/lehins/massiv-compat
@@ -79,3 +79,4 @@
 source-repository head
   type:     git
   location: https://github.com/lehins/massiv-compat
+  subdir:   massiv-persist
diff --git a/src/Massiv/Persist.hs b/src/Massiv/Persist.hs
--- a/src/Massiv/Persist.hs
+++ b/src/Massiv/Persist.hs
@@ -1,5 +1,6 @@
 {-# LANGUAGE BangPatterns #-}
 {-# LANGUAGE CPP #-}
+{-# LANGUAGE FlexibleContexts #-}
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE UndecidableInstances #-}
