Refactoring: Fix rubocop violation