Added Thrift endpoints.