0. Not in a `runCallback()` ?
0. You shoud add a use statement for `eZINI`.
0. If you actually pass an event object (like you seemed to initially planned), you could use the legacy kernel inside this event object.