Remove Pair class.