Implement switch scopes (no isolation!)