Repair imperative use of eventDelegates block to specify host events.