The Principles of Pruning