GHC 7.4 compatibility