          self.update_changed_config_items(config_changeable_items)
          logger.debug("Replacing config. Old config: %s", _CONFIG)
          _CONFIG = self.config
          logger.debug("Replaced config. New config: %s", _CONFIG)
          logger.info("Using configuration saved in state file")
  
      def update_legacy_config(self):
 
</s> remove 
    def update_legacy_config(self):
        """ Update legacy state config files with the new loss formating
        """
        prior = "dssim_loss"
        new = "loss_function"
        if prior in self.config.keys() and new not in self.config.keys():
            self.config[new] = "ssim" if self.config[prior] is True else "mae"
            logger.debug("Updated config from older dssim format. New config loss function: %s",
                         self.config[new])
 </s> add  </s> remove                 self.update_legacy_config()
 </s> add  </s> remove     def get_loss_functions(self, side, predict, mask):
 </s> add     def get_loss_functions(self, mask):
        if legacy_update:
            self.save()
          self.update_changed_config_items(config_changeable_items)
          logger.debug("Replacing config. Old config: %s", _CONFIG)
          _CONFIG = self.config
        if legacy_update:
            self.save()
          logger.debug("Replaced config. New config: %s", _CONFIG)
          logger.info("Using configuration saved in state file")
  
      def update_legacy_config(self):
keep keep add keep keep keep keep
 Post PR Fixups

- train/_config.py: PEP8 Fixes. Slight description change on coverage
- models/_base.py:
   - Remove unused variables from Loss()
   - Delete legacy config items from state file
   - Save state file on Legacy update
   - PEP8
- Remove _defaults.py for models with no config options 
plugins/train/model/_base.py