Add constants from spec.
Prepare parser exception classes.