Thrift interface definitions