Adding some Haskell compatibility