Fixed the visibility issue of all dependencies being activated because of only one class being used.