Added Exception classes.