Fix style issues reported by rubocop