Added stack pops for control structures.