Convert to new event listener.