Eliminate the need to set exceptions for dangerous functions

While this does make a pretty fundamental change, it will permit simplification of code in several places.