Fix some RuboCop warnings