<div dir="ltr">So, I need to implement scoping in the ProtoExpander something like this:<div><br></div><div>ProtoBody/ProtoDeclare around ProtoInstance(s) around ProtoBody/ProtoDeclare(s) ...</div><div><br></div><div>ProtoInstance(s) around ProtoBody/Declare(s) around ProtoInstance(s) ...</div><div><br></div><div>What other scoping gotchas might there be?</div><div><br></div><div>John</div></div>