Removing unused code from a deleted section