Fixed a bunch of lint errors.