docs: Move GhcModError to right export category in Monad.hs
Remove dead code
Fix building with ghc 7.4