Add basic functionality of SwitchParser while OptionGroup is not supported.