Pruning dead code