Exclude exceptions of certain types #34