Adding support for triplets