Add event.type instead of event.realtime