old_contents: from PLC.Method import Method
  from PLC.Parameter import Parameter
  import PLC.Methods
  
  class listMethods(Method):
      """
      This method lists all the methods that the XML-RPC server knows
      how to dispatch.
      """
  
      roles = []
      accepts = []
      returns = Parameter(list, 'List of methods')
  
      def __init__(self, api):
          Method.__init__(self, api)
          self.name = "system.listMethods"
  
      def call(self):
          return self.api.methods
  
new_contents: from PLC.Method import Method
  from PLC.Parameter import Parameter
  import PLC.Methods
  
  class listMethods(Method):
      """
      This method lists all the methods that the XML-RPC server knows
      how to dispatch.
      """
  
      roles = []
      accepts = []
      returns = Parameter(list, 'List of methods')
  
      def __init__(self, api):
          Method.__init__(self, api)
          self.name = "system.listMethods"
  
      def call(self):
          return self.api.all_methods
  
subject: fix system.listMethods call