Fix RPC set and get methods