Fix signature of prune