Provide a standard method for populating an object from a model

The previous @classmethod would only work when first creating an instance
of an object.

Change-Id: I3d5e9ce910c71f184641bbf80d2a149e14557ad6