Fix warnings from ghc-mod