Fix Exception class not found