Remove calls to DomEvent as that's not exposed any longer.