default_exceptions: Prefer direct subclasses.

Fix #442