Remove ghc-mod dependent functions