Fix Rubocop warnings.