Adds labels in the output validation array.