Index: branches/jhoblitt/ippdb/src/ippdb.c
===================================================================
--- branches/jhoblitt/ippdb/src/ippdb.c	(revision 8089)
+++ branches/jhoblitt/ippdb/src/ippdb.c	(revision 8094)
@@ -8929,5 +8929,5 @@
 static void p2PendingImfileRowFree(p2PendingImfileRow *object);
 
-p2PendingImfileRow *p2PendingImfileRowAlloc(const char *exp_id, const char *class_id, const char *uri, const char *stats, const char *recipe, psS32 p1_version, psS32 p2_version)
+p2PendingImfileRow *p2PendingImfileRowAlloc(const char *exp_id, const char *class_id, const char *uri, const char *recipe, psS32 p1_version, psS32 p2_version)
 {
     p2PendingImfileRow *object;
@@ -8939,5 +8939,4 @@
     object->class_id = psStringCopy(class_id);
     object->uri = psStringCopy(uri);
-    object->stats = psStringCopy(stats);
     object->recipe = psStringCopy(recipe);
     object->p1_version = p1_version;
@@ -8952,5 +8951,4 @@
     psFree(object->class_id);
     psFree(object->uri);
-    psFree(object->stats);
     psFree(object->recipe);
 }
@@ -8982,9 +8980,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, "255")) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, "64")) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -9015,5 +9008,5 @@
 }
 
-bool p2PendingImfileInsert(psDB * dbh, const char *exp_id, const char *class_id, const char *uri, const char *stats, const char *recipe, psS32 p1_version, psS32 p2_version)
+bool p2PendingImfileInsert(psDB * dbh, const char *exp_id, const char *class_id, const char *uri, const char *recipe, psS32 p1_version, psS32 p2_version)
 {
     psMetadata      *md;
@@ -9036,9 +9029,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -9063,5 +9051,5 @@
 }
 
-bool p2PendingImfilePop(psDB *dbh, char **exp_id, char **class_id, char **uri, char **stats, char **recipe, psS32 *p1_version, psS32 *p2_version)
+bool p2PendingImfilePop(psDB *dbh, char **exp_id, char **class_id, char **uri, char **recipe, psS32 *p1_version, psS32 *p2_version)
 {
     psArray         *rowSet;
@@ -9125,10 +9113,4 @@
         return false;
     }
-    *stats = psMetadataLookupPtr(&status, row, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        psFree(row);
-        return false;
-    }
     *recipe = psMetadataLookupPtr(&status, row, "recipe");
     if (!status) {
@@ -9157,5 +9139,5 @@
 bool p2PendingImfileInsertObject(psDB *dbh, p2PendingImfileRow *object)
 {
-    return p2PendingImfileInsert(dbh, object->exp_id, object->class_id, object->uri, object->stats, object->recipe, object->p1_version, object->p2_version);
+    return p2PendingImfileInsert(dbh, object->exp_id, object->class_id, object->uri, object->recipe, object->p1_version, object->p2_version);
 }
 
@@ -9165,15 +9147,14 @@
     char            class_id[256];
     char            uri[256];
-    char            stats[256];
     char            recipe[256];
     psS32           p1_version;
     psS32           p2_version;
 
-    if (!p2PendingImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe, &p1_version, &p2_version)) {
+    if (!p2PendingImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe, &p1_version, &p2_version)) {
         psError(PS_ERR_UNKNOWN, false, "failed to pop a database row");
         return NULL;
     }
 
-    return p2PendingImfileRowAlloc(exp_id, class_id, uri, stats, recipe, p1_version, p2_version);
+    return p2PendingImfileRowAlloc(exp_id, class_id, uri, recipe, p1_version, p2_version);
 }
 
@@ -9289,9 +9270,4 @@
         return NULL;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, object->stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return NULL;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, object->recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -9319,5 +9295,4 @@
     char            *class_id;
     char            *uri;
-    char            *stats;
     char            *recipe;
     psS32           p1_version;
@@ -9339,9 +9314,4 @@
         return false;
     }
-    stats = psMetadataLookupPtr(&status, md, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        return false;
-    }
     recipe = psMetadataLookupPtr(&status, md, "recipe");
     if (!status) {
@@ -9360,5 +9330,5 @@
     }
 
-    return p2PendingImfileRowAlloc(exp_id, class_id, uri, stats, recipe, p1_version, p2_version);
+    return p2PendingImfileRowAlloc(exp_id, class_id, uri, recipe, p1_version, p2_version);
 }
 psArray *p2PendingImfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -10111,5 +10081,5 @@
 static void p2DoneImfileRowFree(p2DoneImfileRow *object);
 
-p2DoneImfileRow *p2DoneImfileRowAlloc(const char *exp_id, const char *class_id, const char *uri, const char *stats, const char *recipe, psS32 p1_version, psS32 p2_version)
+p2DoneImfileRow *p2DoneImfileRowAlloc(const char *exp_id, const char *class_id, const char *uri, const char *recipe, psS32 p1_version, psS32 p2_version)
 {
     p2DoneImfileRow *object;
@@ -10121,5 +10091,4 @@
     object->class_id = psStringCopy(class_id);
     object->uri = psStringCopy(uri);
-    object->stats = psStringCopy(stats);
     object->recipe = psStringCopy(recipe);
     object->p1_version = p1_version;
@@ -10134,5 +10103,4 @@
     psFree(object->class_id);
     psFree(object->uri);
-    psFree(object->stats);
     psFree(object->recipe);
 }
@@ -10164,9 +10132,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, "255")) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, "64")) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -10197,5 +10160,5 @@
 }
 
-bool p2DoneImfileInsert(psDB * dbh, const char *exp_id, const char *class_id, const char *uri, const char *stats, const char *recipe, psS32 p1_version, psS32 p2_version)
+bool p2DoneImfileInsert(psDB * dbh, const char *exp_id, const char *class_id, const char *uri, const char *recipe, psS32 p1_version, psS32 p2_version)
 {
     psMetadata      *md;
@@ -10218,9 +10181,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -10245,5 +10203,5 @@
 }
 
-bool p2DoneImfilePop(psDB *dbh, char **exp_id, char **class_id, char **uri, char **stats, char **recipe, psS32 *p1_version, psS32 *p2_version)
+bool p2DoneImfilePop(psDB *dbh, char **exp_id, char **class_id, char **uri, char **recipe, psS32 *p1_version, psS32 *p2_version)
 {
     psArray         *rowSet;
@@ -10307,10 +10265,4 @@
         return false;
     }
-    *stats = psMetadataLookupPtr(&status, row, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        psFree(row);
-        return false;
-    }
     *recipe = psMetadataLookupPtr(&status, row, "recipe");
     if (!status) {
@@ -10339,5 +10291,5 @@
 bool p2DoneImfileInsertObject(psDB *dbh, p2DoneImfileRow *object)
 {
-    return p2DoneImfileInsert(dbh, object->exp_id, object->class_id, object->uri, object->stats, object->recipe, object->p1_version, object->p2_version);
+    return p2DoneImfileInsert(dbh, object->exp_id, object->class_id, object->uri, object->recipe, object->p1_version, object->p2_version);
 }
 
@@ -10347,15 +10299,14 @@
     char            class_id[256];
     char            uri[256];
-    char            stats[256];
     char            recipe[256];
     psS32           p1_version;
     psS32           p2_version;
 
-    if (!p2DoneImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe, &p1_version, &p2_version)) {
+    if (!p2DoneImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe, &p1_version, &p2_version)) {
         psError(PS_ERR_UNKNOWN, false, "failed to pop a database row");
         return NULL;
     }
 
-    return p2DoneImfileRowAlloc(exp_id, class_id, uri, stats, recipe, p1_version, p2_version);
+    return p2DoneImfileRowAlloc(exp_id, class_id, uri, recipe, p1_version, p2_version);
 }
 
@@ -10471,9 +10422,4 @@
         return NULL;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, object->stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return NULL;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, object->recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -10501,5 +10447,4 @@
     char            *class_id;
     char            *uri;
-    char            *stats;
     char            *recipe;
     psS32           p1_version;
@@ -10521,9 +10466,4 @@
         return false;
     }
-    stats = psMetadataLookupPtr(&status, md, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        return false;
-    }
     recipe = psMetadataLookupPtr(&status, md, "recipe");
     if (!status) {
@@ -10542,5 +10482,5 @@
     }
 
-    return p2DoneImfileRowAlloc(exp_id, class_id, uri, stats, recipe, p1_version, p2_version);
+    return p2DoneImfileRowAlloc(exp_id, class_id, uri, recipe, p1_version, p2_version);
 }
 psArray *p2DoneImfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -12266,5 +12206,5 @@
 static void detProcessedImfileRowFree(detProcessedImfileRow *object);
 
-detProcessedImfileRow *detProcessedImfileRowAlloc(psS32 det_id, const char *exp_id, const char *class_id, const char *uri, const char *stats, const char *recipe)
+detProcessedImfileRow *detProcessedImfileRowAlloc(psS32 det_id, const char *exp_id, const char *class_id, const char *uri, const char *recipe)
 {
     detProcessedImfileRow *object;
@@ -12277,5 +12217,4 @@
     object->class_id = psStringCopy(class_id);
     object->uri = psStringCopy(uri);
-    object->stats = psStringCopy(stats);
     object->recipe = psStringCopy(recipe);
 
@@ -12288,5 +12227,4 @@
     psFree(object->class_id);
     psFree(object->uri);
-    psFree(object->stats);
     psFree(object->recipe);
 }
@@ -12323,9 +12261,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, "255")) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, "64")) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -12346,5 +12279,5 @@
 }
 
-bool detProcessedImfileInsert(psDB * dbh, psS32 det_id, const char *exp_id, const char *class_id, const char *uri, const char *stats, const char *recipe)
+bool detProcessedImfileInsert(psDB * dbh, psS32 det_id, const char *exp_id, const char *class_id, const char *uri, const char *recipe)
 {
     psMetadata      *md;
@@ -12372,9 +12305,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -12389,5 +12317,5 @@
 }
 
-bool detProcessedImfilePop(psDB *dbh, psS32 *det_id, char **exp_id, char **class_id, char **uri, char **stats, char **recipe)
+bool detProcessedImfilePop(psDB *dbh, psS32 *det_id, char **exp_id, char **class_id, char **uri, char **recipe)
 {
     psArray         *rowSet;
@@ -12457,10 +12385,4 @@
         return false;
     }
-    *stats = psMetadataLookupPtr(&status, row, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        psFree(row);
-        return false;
-    }
     *recipe = psMetadataLookupPtr(&status, row, "recipe");
     if (!status) {
@@ -12477,5 +12399,5 @@
 bool detProcessedImfileInsertObject(psDB *dbh, detProcessedImfileRow *object)
 {
-    return detProcessedImfileInsert(dbh, object->det_id, object->exp_id, object->class_id, object->uri, object->stats, object->recipe);
+    return detProcessedImfileInsert(dbh, object->det_id, object->exp_id, object->class_id, object->uri, object->recipe);
 }
 
@@ -12486,13 +12408,12 @@
     char            class_id[256];
     char            uri[256];
-    char            stats[256];
     char            recipe[256];
 
-    if (!detProcessedImfilePop(dbh, &det_id, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe)) {
+    if (!detProcessedImfilePop(dbh, &det_id, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to pop a database row");
         return NULL;
     }
 
-    return detProcessedImfileRowAlloc(det_id, exp_id, class_id, uri, stats, recipe);
+    return detProcessedImfileRowAlloc(det_id, exp_id, class_id, uri, recipe);
 }
 
@@ -12613,9 +12534,4 @@
         return NULL;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, object->stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return NULL;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, object->recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -12634,5 +12550,4 @@
     char            *class_id;
     char            *uri;
-    char            *stats;
     char            *recipe;
 
@@ -12657,9 +12572,4 @@
         return false;
     }
-    stats = psMetadataLookupPtr(&status, md, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        return false;
-    }
     recipe = psMetadataLookupPtr(&status, md, "recipe");
     if (!status) {
@@ -12668,5 +12578,5 @@
     }
 
-    return detProcessedImfileRowAlloc(det_id, exp_id, class_id, uri, stats, recipe);
+    return detProcessedImfileRowAlloc(det_id, exp_id, class_id, uri, recipe);
 }
 psArray *detProcessedImfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -12726,5 +12636,5 @@
 static void detStackedImfileRowFree(detStackedImfileRow *object);
 
-detStackedImfileRow *detStackedImfileRowAlloc(psS32 det_id, psS32 iteration, const char *class_id, const char *uri, const char *stats, const char *recipe)
+detStackedImfileRow *detStackedImfileRowAlloc(psS32 det_id, psS32 iteration, const char *class_id, const char *uri, const char *recipe)
 {
     detStackedImfileRow *object;
@@ -12737,5 +12647,4 @@
     object->class_id = psStringCopy(class_id);
     object->uri = psStringCopy(uri);
-    object->stats = psStringCopy(stats);
     object->recipe = psStringCopy(recipe);
 
@@ -12747,5 +12656,4 @@
     psFree(object->class_id);
     psFree(object->uri);
-    psFree(object->stats);
     psFree(object->recipe);
 }
@@ -12782,9 +12690,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, "255")) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, "64")) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -12805,5 +12708,5 @@
 }
 
-bool detStackedImfileInsert(psDB * dbh, psS32 det_id, psS32 iteration, const char *class_id, const char *uri, const char *stats, const char *recipe)
+bool detStackedImfileInsert(psDB * dbh, psS32 det_id, psS32 iteration, const char *class_id, const char *uri, const char *recipe)
 {
     psMetadata      *md;
@@ -12831,9 +12734,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -12848,5 +12746,5 @@
 }
 
-bool detStackedImfilePop(psDB *dbh, psS32 *det_id, psS32 *iteration, char **class_id, char **uri, char **stats, char **recipe)
+bool detStackedImfilePop(psDB *dbh, psS32 *det_id, psS32 *iteration, char **class_id, char **uri, char **recipe)
 {
     psArray         *rowSet;
@@ -12916,10 +12814,4 @@
         return false;
     }
-    *stats = psMetadataLookupPtr(&status, row, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        psFree(row);
-        return false;
-    }
     *recipe = psMetadataLookupPtr(&status, row, "recipe");
     if (!status) {
@@ -12936,5 +12828,5 @@
 bool detStackedImfileInsertObject(psDB *dbh, detStackedImfileRow *object)
 {
-    return detStackedImfileInsert(dbh, object->det_id, object->iteration, object->class_id, object->uri, object->stats, object->recipe);
+    return detStackedImfileInsert(dbh, object->det_id, object->iteration, object->class_id, object->uri, object->recipe);
 }
 
@@ -12945,13 +12837,12 @@
     char            class_id[256];
     char            uri[256];
-    char            stats[256];
     char            recipe[256];
 
-    if (!detStackedImfilePop(dbh, &det_id, &iteration, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe)) {
+    if (!detStackedImfilePop(dbh, &det_id, &iteration, (char **)&class_id, (char **)&uri, (char **)&recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to pop a database row");
         return NULL;
     }
 
-    return detStackedImfileRowAlloc(det_id, iteration, class_id, uri, stats, recipe);
+    return detStackedImfileRowAlloc(det_id, iteration, class_id, uri, recipe);
 }
 
@@ -13072,9 +12963,4 @@
         return NULL;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, object->stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return NULL;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, object->recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -13093,5 +12979,4 @@
     char            *class_id;
     char            *uri;
-    char            *stats;
     char            *recipe;
 
@@ -13116,9 +13001,4 @@
         return false;
     }
-    stats = psMetadataLookupPtr(&status, md, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        return false;
-    }
     recipe = psMetadataLookupPtr(&status, md, "recipe");
     if (!status) {
@@ -13127,5 +13007,5 @@
     }
 
-    return detStackedImfileRowAlloc(det_id, iteration, class_id, uri, stats, recipe);
+    return detStackedImfileRowAlloc(det_id, iteration, class_id, uri, recipe);
 }
 psArray *detStackedImfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -13185,5 +13065,5 @@
 static void detNormalizedImfileRowFree(detNormalizedImfileRow *object);
 
-detNormalizedImfileRow *detNormalizedImfileRowAlloc(psS32 det_id, psS32 iteration, const char *class_id, const char *uri, const char *stats, const char *recipe)
+detNormalizedImfileRow *detNormalizedImfileRowAlloc(psS32 det_id, psS32 iteration, const char *class_id, const char *uri, const char *recipe)
 {
     detNormalizedImfileRow *object;
@@ -13196,5 +13076,4 @@
     object->class_id = psStringCopy(class_id);
     object->uri = psStringCopy(uri);
-    object->stats = psStringCopy(stats);
     object->recipe = psStringCopy(recipe);
 
@@ -13206,5 +13085,4 @@
     psFree(object->class_id);
     psFree(object->uri);
-    psFree(object->stats);
     psFree(object->recipe);
 }
@@ -13241,9 +13119,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, "255")) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, "64")) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -13264,5 +13137,5 @@
 }
 
-bool detNormalizedImfileInsert(psDB * dbh, psS32 det_id, psS32 iteration, const char *class_id, const char *uri, const char *stats, const char *recipe)
+bool detNormalizedImfileInsert(psDB * dbh, psS32 det_id, psS32 iteration, const char *class_id, const char *uri, const char *recipe)
 {
     psMetadata      *md;
@@ -13290,9 +13163,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -13307,5 +13175,5 @@
 }
 
-bool detNormalizedImfilePop(psDB *dbh, psS32 *det_id, psS32 *iteration, char **class_id, char **uri, char **stats, char **recipe)
+bool detNormalizedImfilePop(psDB *dbh, psS32 *det_id, psS32 *iteration, char **class_id, char **uri, char **recipe)
 {
     psArray         *rowSet;
@@ -13375,10 +13243,4 @@
         return false;
     }
-    *stats = psMetadataLookupPtr(&status, row, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        psFree(row);
-        return false;
-    }
     *recipe = psMetadataLookupPtr(&status, row, "recipe");
     if (!status) {
@@ -13395,5 +13257,5 @@
 bool detNormalizedImfileInsertObject(psDB *dbh, detNormalizedImfileRow *object)
 {
-    return detNormalizedImfileInsert(dbh, object->det_id, object->iteration, object->class_id, object->uri, object->stats, object->recipe);
+    return detNormalizedImfileInsert(dbh, object->det_id, object->iteration, object->class_id, object->uri, object->recipe);
 }
 
@@ -13404,13 +13266,12 @@
     char            class_id[256];
     char            uri[256];
-    char            stats[256];
     char            recipe[256];
 
-    if (!detNormalizedImfilePop(dbh, &det_id, &iteration, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe)) {
+    if (!detNormalizedImfilePop(dbh, &det_id, &iteration, (char **)&class_id, (char **)&uri, (char **)&recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to pop a database row");
         return NULL;
     }
 
-    return detNormalizedImfileRowAlloc(det_id, iteration, class_id, uri, stats, recipe);
+    return detNormalizedImfileRowAlloc(det_id, iteration, class_id, uri, recipe);
 }
 
@@ -13531,9 +13392,4 @@
         return NULL;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, object->stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return NULL;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, object->recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -13552,5 +13408,4 @@
     char            *class_id;
     char            *uri;
-    char            *stats;
     char            *recipe;
 
@@ -13575,9 +13430,4 @@
         return false;
     }
-    stats = psMetadataLookupPtr(&status, md, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        return false;
-    }
     recipe = psMetadataLookupPtr(&status, md, "recipe");
     if (!status) {
@@ -13586,5 +13436,5 @@
     }
 
-    return detNormalizedImfileRowAlloc(det_id, iteration, class_id, uri, stats, recipe);
+    return detNormalizedImfileRowAlloc(det_id, iteration, class_id, uri, recipe);
 }
 psArray *detNormalizedImfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -14013,5 +13863,5 @@
 static void detMasterImfileRowFree(detMasterImfileRow *object);
 
-detMasterImfileRow *detMasterImfileRowAlloc(psS32 det_id, const char *class_id, const char *uri, const char *stats, const char *recipe)
+detMasterImfileRow *detMasterImfileRowAlloc(psS32 det_id, const char *class_id, const char *uri, const char *recipe)
 {
     detMasterImfileRow *object;
@@ -14023,5 +13873,4 @@
     object->class_id = psStringCopy(class_id);
     object->uri = psStringCopy(uri);
-    object->stats = psStringCopy(stats);
     object->recipe = psStringCopy(recipe);
 
@@ -14033,5 +13882,4 @@
     psFree(object->class_id);
     psFree(object->uri);
-    psFree(object->stats);
     psFree(object->recipe);
 }
@@ -14063,9 +13911,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, "255")) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, "64")) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -14086,5 +13929,5 @@
 }
 
-bool detMasterImfileInsert(psDB * dbh, psS32 det_id, const char *class_id, const char *uri, const char *stats, const char *recipe)
+bool detMasterImfileInsert(psDB * dbh, psS32 det_id, const char *class_id, const char *uri, const char *recipe)
 {
     psMetadata      *md;
@@ -14107,9 +13950,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -14124,5 +13962,5 @@
 }
 
-bool detMasterImfilePop(psDB *dbh, psS32 *det_id, char **class_id, char **uri, char **stats, char **recipe)
+bool detMasterImfilePop(psDB *dbh, psS32 *det_id, char **class_id, char **uri, char **recipe)
 {
     psArray         *rowSet;
@@ -14186,10 +14024,4 @@
         return false;
     }
-    *stats = psMetadataLookupPtr(&status, row, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        psFree(row);
-        return false;
-    }
     *recipe = psMetadataLookupPtr(&status, row, "recipe");
     if (!status) {
@@ -14206,5 +14038,5 @@
 bool detMasterImfileInsertObject(psDB *dbh, detMasterImfileRow *object)
 {
-    return detMasterImfileInsert(dbh, object->det_id, object->class_id, object->uri, object->stats, object->recipe);
+    return detMasterImfileInsert(dbh, object->det_id, object->class_id, object->uri, object->recipe);
 }
 
@@ -14214,13 +14046,12 @@
     char            class_id[256];
     char            uri[256];
-    char            stats[256];
     char            recipe[256];
 
-    if (!detMasterImfilePop(dbh, &det_id, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe)) {
+    if (!detMasterImfilePop(dbh, &det_id, (char **)&class_id, (char **)&uri, (char **)&recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to pop a database row");
         return NULL;
     }
 
-    return detMasterImfileRowAlloc(det_id, class_id, uri, stats, recipe);
+    return detMasterImfileRowAlloc(det_id, class_id, uri, recipe);
 }
 
@@ -14336,9 +14167,4 @@
         return NULL;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, object->stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return NULL;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, object->recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -14356,5 +14182,4 @@
     char            *class_id;
     char            *uri;
-    char            *stats;
     char            *recipe;
 
@@ -14374,9 +14199,4 @@
         return false;
     }
-    stats = psMetadataLookupPtr(&status, md, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        return false;
-    }
     recipe = psMetadataLookupPtr(&status, md, "recipe");
     if (!status) {
@@ -14385,5 +14205,5 @@
     }
 
-    return detMasterImfileRowAlloc(det_id, class_id, uri, stats, recipe);
+    return detMasterImfileRowAlloc(det_id, class_id, uri, recipe);
 }
 psArray *detMasterImfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -14443,5 +14263,5 @@
 static void detResidImfileAnalysisRowFree(detResidImfileAnalysisRow *object);
 
-detResidImfileAnalysisRow *detResidImfileAnalysisRowAlloc(psS32 det_id, psS32 iteration, const char *exp_id, const char *class_id, const char *stats, const char *recipe)
+detResidImfileAnalysisRow *detResidImfileAnalysisRowAlloc(psS32 det_id, psS32 iteration, const char *exp_id, const char *class_id, const char *recipe)
 {
     detResidImfileAnalysisRow *object;
@@ -14454,5 +14274,4 @@
     object->exp_id = psStringCopy(exp_id);
     object->class_id = psStringCopy(class_id);
-    object->stats = psStringCopy(stats);
     object->recipe = psStringCopy(recipe);
 
@@ -14464,5 +14283,4 @@
     psFree(object->exp_id);
     psFree(object->class_id);
-    psFree(object->stats);
     psFree(object->recipe);
 }
@@ -14499,9 +14317,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, "255")) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, "64")) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -14522,5 +14335,5 @@
 }
 
-bool detResidImfileAnalysisInsert(psDB * dbh, psS32 det_id, psS32 iteration, const char *exp_id, const char *class_id, const char *stats, const char *recipe)
+bool detResidImfileAnalysisInsert(psDB * dbh, psS32 det_id, psS32 iteration, const char *exp_id, const char *class_id, const char *recipe)
 {
     psMetadata      *md;
@@ -14548,9 +14361,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -14565,5 +14373,5 @@
 }
 
-bool detResidImfileAnalysisPop(psDB *dbh, psS32 *det_id, psS32 *iteration, char **exp_id, char **class_id, char **stats, char **recipe)
+bool detResidImfileAnalysisPop(psDB *dbh, psS32 *det_id, psS32 *iteration, char **exp_id, char **class_id, char **recipe)
 {
     psArray         *rowSet;
@@ -14633,10 +14441,4 @@
         return false;
     }
-    *stats = psMetadataLookupPtr(&status, row, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        psFree(row);
-        return false;
-    }
     *recipe = psMetadataLookupPtr(&status, row, "recipe");
     if (!status) {
@@ -14653,5 +14455,5 @@
 bool detResidImfileAnalysisInsertObject(psDB *dbh, detResidImfileAnalysisRow *object)
 {
-    return detResidImfileAnalysisInsert(dbh, object->det_id, object->iteration, object->exp_id, object->class_id, object->stats, object->recipe);
+    return detResidImfileAnalysisInsert(dbh, object->det_id, object->iteration, object->exp_id, object->class_id, object->recipe);
 }
 
@@ -14662,13 +14464,12 @@
     char            exp_id[256];
     char            class_id[256];
-    char            stats[256];
     char            recipe[256];
 
-    if (!detResidImfileAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&class_id, (char **)&stats, (char **)&recipe)) {
+    if (!detResidImfileAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&class_id, (char **)&recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to pop a database row");
         return NULL;
     }
 
-    return detResidImfileAnalysisRowAlloc(det_id, iteration, exp_id, class_id, stats, recipe);
+    return detResidImfileAnalysisRowAlloc(det_id, iteration, exp_id, class_id, recipe);
 }
 
@@ -14789,9 +14590,4 @@
         return NULL;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, object->stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return NULL;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, object->recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -14810,5 +14606,4 @@
     char            *exp_id;
     char            *class_id;
-    char            *stats;
     char            *recipe;
 
@@ -14833,9 +14628,4 @@
         return false;
     }
-    stats = psMetadataLookupPtr(&status, md, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        return false;
-    }
     recipe = psMetadataLookupPtr(&status, md, "recipe");
     if (!status) {
@@ -14844,5 +14634,5 @@
     }
 
-    return detResidImfileAnalysisRowAlloc(det_id, iteration, exp_id, class_id, stats, recipe);
+    return detResidImfileAnalysisRowAlloc(det_id, iteration, exp_id, class_id, recipe);
 }
 psArray *detResidImfileAnalysisSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -14902,5 +14692,5 @@
 static void detResidExpAnalysisRowFree(detResidExpAnalysisRow *object);
 
-detResidExpAnalysisRow *detResidExpAnalysisRowAlloc(psS32 det_id, psS32 iteration, const char *exp_id, const char *stats, const char *recipe, bool accept)
+detResidExpAnalysisRow *detResidExpAnalysisRowAlloc(psS32 det_id, psS32 iteration, const char *exp_id, const char *recipe, bool accept)
 {
     detResidExpAnalysisRow *object;
@@ -14912,5 +14702,4 @@
     object->iteration = iteration;
     object->exp_id = psStringCopy(exp_id);
-    object->stats = psStringCopy(stats);
     object->recipe = psStringCopy(recipe);
     object->accept = accept;
@@ -14922,5 +14711,4 @@
 {
     psFree(object->exp_id);
-    psFree(object->stats);
     psFree(object->recipe);
 }
@@ -14952,9 +14740,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, "255")) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, "64")) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -14980,5 +14763,5 @@
 }
 
-bool detResidExpAnalysisInsert(psDB * dbh, psS32 det_id, psS32 iteration, const char *exp_id, const char *stats, const char *recipe, bool accept)
+bool detResidExpAnalysisInsert(psDB * dbh, psS32 det_id, psS32 iteration, const char *exp_id, const char *recipe, bool accept)
 {
     psMetadata      *md;
@@ -15001,9 +14784,4 @@
         return false;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return false;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -15023,5 +14801,5 @@
 }
 
-bool detResidExpAnalysisPop(psDB *dbh, psS32 *det_id, psS32 *iteration, char **exp_id, char **stats, char **recipe, bool *accept)
+bool detResidExpAnalysisPop(psDB *dbh, psS32 *det_id, psS32 *iteration, char **exp_id, char **recipe, bool *accept)
 {
     psArray         *rowSet;
@@ -15085,10 +14863,4 @@
         return false;
     }
-    *stats = psMetadataLookupPtr(&status, row, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        psFree(row);
-        return false;
-    }
     *recipe = psMetadataLookupPtr(&status, row, "recipe");
     if (!status) {
@@ -15111,5 +14883,5 @@
 bool detResidExpAnalysisInsertObject(psDB *dbh, detResidExpAnalysisRow *object)
 {
-    return detResidExpAnalysisInsert(dbh, object->det_id, object->iteration, object->exp_id, object->stats, object->recipe, object->accept);
+    return detResidExpAnalysisInsert(dbh, object->det_id, object->iteration, object->exp_id, object->recipe, object->accept);
 }
 
@@ -15119,14 +14891,13 @@
     psS32           iteration;
     char            exp_id[256];
-    char            stats[256];
     char            recipe[256];
     bool            accept;
 
-    if (!detResidExpAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&stats, (char **)&recipe, &accept)) {
+    if (!detResidExpAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&recipe, &accept)) {
         psError(PS_ERR_UNKNOWN, false, "failed to pop a database row");
         return NULL;
     }
 
-    return detResidExpAnalysisRowAlloc(det_id, iteration, exp_id, stats, recipe, accept);
+    return detResidExpAnalysisRowAlloc(det_id, iteration, exp_id, recipe, accept);
 }
 
@@ -15242,9 +15013,4 @@
         return NULL;
     }
-    if (!psMetadataAddStr(md, PS_LIST_TAIL, "stats", 0, NULL, object->stats)) {
-        psError(PS_ERR_UNKNOWN, false, "failed to add item stats");
-        psFree(md);
-        return NULL;
-    }
     if (!psMetadataAddStr(md, PS_LIST_TAIL, "recipe", 0, NULL, object->recipe)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item recipe");
@@ -15267,5 +15033,4 @@
     psS32           iteration;
     char            *exp_id;
-    char            *stats;
     char            *recipe;
     bool            accept;
@@ -15286,9 +15051,4 @@
         return false;
     }
-    stats = psMetadataLookupPtr(&status, md, "stats");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item stats");
-        return false;
-    }
     recipe = psMetadataLookupPtr(&status, md, "recipe");
     if (!status) {
@@ -15302,5 +15062,5 @@
     }
 
-    return detResidExpAnalysisRowAlloc(det_id, iteration, exp_id, stats, recipe, accept);
+    return detResidExpAnalysisRowAlloc(det_id, iteration, exp_id, recipe, accept);
 }
 psArray *detResidExpAnalysisSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
