Add missing header for exceptions.