Eliminates some dead code.