regenerated thrift api