Common rewritter should remember scope of rewritten code bodies.
Common rewriter work.