Fix a bunch of the rubocop warnings