Remove usage of DomEvent.