Fix setting of default values for new models.
Use the new way of setting default values for modules added in import notes.
Use the new method of setting default parameter values when adding Modules.
Fix bug in setting DefaultValue.