Fixed Rubocop violations.