Main switch.