Fixing existing Rubocop issues in project.