Removes leftover code