Prune dependency