Add scoping for objects bound to sections

I think this is all that's needed to get scoping for sections bound to objects working.