Getting data model. Check documentation: getModel() method