Added support for while-loops.