Get rid of dead/useless code for block mangling.