Implement host-switch operator