Add switch template capability