Support added for for loops and do-while loops.