Fixed #7: Added type definition to model.