Fixing Rubocop errors that appeared after updating the version.