Prune old dependency.