PLAT-4863 - Remove factory methods in Pair - Use DoublesPair factory