Wrapped Esper-specific code into EventDriven protocol