Correct raise statements to not use new.