Finish first version of proper error reporting
Implement collapsing of multi-level sequence and first-of structures