Fix event handler object.