Pruning extra code