Fix: a minor bug in handling definition of user defined error types (as C types);
Add: a few minor changes.