Fix various lint errors.
Remove generated code