Adapt for ghc 7.6.