Added support for new-style for loops.