API internal change to use new X_Result protobuf.