`scope` is passed into the function.