Add handling of control body sections and variables in the examples