Some warnings are corrected to errors for RPC method.