convert all callbacks to service method calls