Rewriting scope