Implement Functor Pair