old_contents: from python_cowbull_game.GameController import GameController
  from python_cowbull_game.GameMode import GameMode
  
  
  class ExtGameController(GameController):
      additional_modes = [
          GameMode(mode="SuperTough", priority=6, digits=10, digit_type=0),
          GameMode(mode="hexTough", priority=5, digits=3, guesses_allowed=3, digit_type=1)
      ]
  
      def __init__(self):
          super(ExtGameController, self).__init__(game_modes=self.additional_modes)
  
new_contents: from python_cowbull_game.GameController import GameController
  from python_cowbull_game.GameMode import GameMode
  
  
  class ExtGameController(GameController):
      additional_modes = [
          GameMode(mode="SuperTough", priority=6, digits=10, digit_type=0),
          GameMode(mode="hexTough", priority=5, digits=3, guesses_allowed=3, digit_type=1)
      ]
  
      def __init__(self, mode=None, game_json=None):
          super(ExtGameController, self).__init__(
              game_json=game_json,
              mode=mode,
              game_modes=self.additional_modes
          )
  
subject: Update extensions and GameController subclass