Fix many ghc warning. (cont.)