Adding PMPair class