Fix RuboCop offenses.