Added support for for loops.