Consider generic type arguments when determining "uses" dependencies