Fixed rubocop offences.