Replacing RPC layer with Thrift.