def _get_methods_config(self):
        # Can not use API.rega_run_script() here since the method infos are not yet
        # available. User code should use API.rega_run_script().
        response = self._call("rega_run_script",
            _session_id_=self._session_id,
            script="string stderr;\n"
                   "string stdout;\n"
                   "system.Exec(\"cat /www/api/methods.conf\", &stdout, &stderr);\n"
                   "Write(stdout);\n"
        )
        return response.split("\r\n")