Clean up lint warnings and errors.