Fixed remove rpc api in rpc registry