old_contents: from enumType import enum
  
  ResponseType = enum('Say', 'Do', 'Notice', 'Raw')
  
  
  class IRCResponse:
      def __init__(self, messageType, response, target):
          self.Type = messageType
          try:
              self.Response = unicode(response, 'utf-8')
          except TypeError:  # Already utf-8?
              self.Response = response
          self.Target = target
new_contents: from enumType import enum
  
  ResponseType = enum('Say', 'Do', 'Notice', 'Raw')
  
  
  class IRCResponse(object):
      def __init__(self, messageType, response, target):
          self.Type = messageType
          try:
              self.Response = unicode(response, 'utf-8')
          except TypeError:  # Already utf-8?
              self.Response = response
          self.Target = target
  
subject: Make class declarations consistent.