Remove raise statements that should never get called.