GHC 7.6 compatibility