Reworked compound scope.