GHC 7.0.x compatibility