Fix rubocop offenses

I "discovered" some rubocop offenses. This PR fixes them.