Fix many warnings.