Fixed a bunch of linting issues