Factor out _add_item().
Pull out _Section class.