Added assay format tree handling.