Renamed Switch to SwitchLocation to avoid conflict.