C++ interface to Thrift.