EngineEventHandler that for some reason was not included in the previous commits