Pruning dependencies