Revert Joel's typedef
Move exception to utils so everyone can import