Union and anonymous type handling
Fixed prefix detect
Removed dead code
Sequence max occours
Better documentation