Allow OnPublicCall to handle return values