Fixed Rubocop offences