Introduced HasDom protocol.

... to generalize over DomBinding.