Inject service manager into all Api events.