Removes dead/useless code