Change manifest xml layout.
Traits are now checked that they contain required attributes.
Using new Dictionary class.