Updates the events to be handled by «handleEvent»