ui.getModelFieldByPath and ui.defineModule