Fixes rubocop offences