Add optgroup support to Form\Element