Add isOn and enabled property to Switch.