Do some pruning