changed model constructor yuidoc