Add the triplet utility class.