Added support for control structures.