Update prototype of OnPublicCall()