Replace deprecated `scoped` method with `all`