Add useful extractors for exceptions