Fix rubocop violations.