Fix `dispatcher::direct_call_event()` access modifier to private
Fix compile warnings