Added Trait to populate objects' attributes from an array.
Replaced populate() methods in Profile and Update classes with Populate trait.