Support switch template instructions