Add switch control structure.