Fix Exception class instantiation.