Haskell hooks added.