Add some useful methods to document model.

Change-Id: I3082ec561fad7740600caaa959824387a7e9e2fb
Reviewed-by: Eike Ziller <eike.ziller@digia.com>