WIP: variable resolution with sections.  Not done yet.