Removed occurence of ::scoped() call which will be deprecated