Added macro for pairwiseKey to avoid copy/paste.