fromModel(options?)(profileSkill) or fromModel(profileSkill, options?), now profile is that, i have to define the options paramater else it gives the error, fromModel(profileSkill, undefined) works, fromModel()(profileSkill) works, fromModel(undefined)(profileSkill) works, but fromModel(profileSkill) does not work, gives runtime error