Simplify control flow.