Abstracting dependency addition generator