Fixed DEPRECATION WARNING: Model.scoped is deprecated. Please use Model.all instead.