Fix most Rubocop warnings