Added the ability to define subtypes for widgets that can take multiple forms (such as check boxes and radio buttons).