Collect information about context
Fix clashes with constructors' attributes

TODO: check parents