Fix many lint errors.