Added ability to create new switch.