Add support for triggers to insert the pairs