We can avoid this function, calling directly the underlying method that add the event to the output stream.
See my comment in `onDefend` method.