Scopebuilding

I think this does everything it needs to do, but let me know if I overlooked something.
Yeah, this much is simple enough that it covers the case we care the most about right now.