Change how event handling is done.