add thrift support