Thrift definitions.