Decouple rpc_stubs from bts_client