remove rpc & related classes