Fixed spurious undefined message errors in rpc.c