Adding an enum for the triplet fields.