Setting up control structures.