Remove haskell type declarations