Cleanup scope ownership.