[Switch] Added iterator support