Pruning unused code