Thrift compatibility.