long added as return type addContextEvent.