code: def clean(self):
          
          for prop in ('imported_from', 'use', 'plus', 'templates', 'register'):
              try:
                  delattr(self, prop)
              except AttributeError:
                  pass
          for prop in ('configuration_warnings', 'configuration_errors'):
              try:
                  if getattr(self, prop, None) is not None and not getattr(self, prop):
                      delattr(self, prop)
              except AttributeError:
                  pass
docs: Clean properties only needed for initialization and configuration
  
          :return: None