Added support for transforming conditional blocks into while loops.