deferredScope now replaced with scope.