Added pruning.