Correctly apply modifier scope.