There is another pending issue and that is that we need to support new MouseEvent('click') etc which doesn't fit well with the custom design.