Collapse enumeration.
Fix attributs extraction.