Add methods for data model.
Merge branch 'feature/add-model-methods'