Add pairs.decorate function.