Closing several scopes at a time.