Fix a few rubocop warnings