old_contents: # coding: utf-8
  
  class SyncBackendMediaInterface:
      """
      This interface defines required properties and methods
      of objects passed to deployment back-end class on media synchronization.
  
      """
  
      @property
      def backend_data_value(self):
          raise NotImplementedError('This property should be implemented in '
                                    'subclasses')
  
      @property
      def backend_uniqid(self):
          raise NotImplementedError('This property should be implemented in '
                                    'subclasses')
  
      def delete(self, **kwargs):
          raise NotImplementedError('This method should be implemented in '
                                    'subclasses')
  
      @property
      def deleted_at(self):
          raise NotImplementedError('This property should be implemented in '
                                    'subclasses')
  
      @property
      def filename(self):
          raise NotImplementedError('This property should be implemented in '
                                    'subclasses')
  
      @property
      def hash(self):
          raise NotImplementedError('This property should be implemented in '
                                    'subclasses')
  
      @property
      def is_remote_url(self):
          raise NotImplementedError('This property should be implemented in '
                                    'subclasses')
  
      @property
      def mimetype(self):
          raise NotImplementedError('This property should be implemented in '
                                    'subclasses')
  
new_contents: # coding: utf-8
  from kpi.exceptions import AbstractMethodError, AbstractPropertyError
  
  
  class SyncBackendMediaInterface:
      """
      This interface defines required properties and methods
      of objects passed to deployment back-end class on media synchronization.
  
      """
  
      @property
      def backend_data_value(self):
          raise AbstractPropertyError
  
      @property
      def backend_uniqid(self):
          raise AbstractPropertyError
  
      def delete(self, **kwargs):
          raise AbstractMethodError
  
      @property
      def deleted_at(self):
          raise AbstractPropertyError
  
      @property
      def filename(self):
          raise AbstractPropertyError
  
      @property
      def hash(self):
          raise AbstractPropertyError
  
      @property
      def is_remote_url(self):
          raise AbstractPropertyError
  
      @property
      def mimetype(self):
          raise AbstractPropertyError
  
subject: Use new exceptions: AbstractMethodError, AbstractPropertyError