Added SwitchMap Class to generator