Reduce redundant dependencies.