Cosmetics.
Overload reportError to be more flexible.
Add support for rule 2-10-2.