Added pair class to source tree