Adding control flow patterns.