Added support for Optgroup label attribute