integrate support for custom elements created inside ShadowDOM.