Removing redundant dependencies.