`dom.Element` is useless here, could you please remove it (and at other places). Thanks.