Remove ghc errors/warnings