Fix Grit reference, define exception type.