Removes garbage code.