Fleshing out some hacky notion of exception classes.