Fixed rubocop style issues.