GHC 7.10 compatibility