Add some rpcmethods