Pairwise dependency injector.