Add exceptions forward declarations to common.h.