Add addEventWithCallback()