Added import for Exception from the global namespace.