Compatibility with newer Haskell