Corrected rubocop issues.