This is used in onShadowRoot, which needs to be renamed.

We'll rework this later.