changeset 145:8b310d571e5b

sync orthanc folder
author Alain Mazy <am@osimis.io>
date Mon, 13 Nov 2023 21:12:54 +0100
parents 93c6f12bf339
children 1ce48763e75b
files CodeAnalysis/Dockerfile Resources/Orthanc/CMake/DownloadOrthancFramework.cmake Resources/Orthanc/CMake/EmbedResources.py Resources/Orthanc/CMake/GoogleTestConfiguration.cmake Resources/SyncOrthancFolder.py Sources/Autogenerated/CodeModel.json
diffstat 6 files changed, 3577 insertions(+), 3053 deletions(-) [+]
line wrap: on
line diff
--- a/CodeAnalysis/Dockerfile	Wed Nov 08 08:55:12 2023 +0100
+++ b/CodeAnalysis/Dockerfile	Mon Nov 13 21:12:54 2023 +0100
@@ -16,5 +16,5 @@
 COPY *.mustache /CodeAnalysis/
 COPY *.py /CodeAnalysis/
 
-ENTRYPOINT ["./CodeAnalysis/ParseOrthancSDK.py"]
-CMD ["--libclang=libclang-4.0.so.1", "--source", "source/OrthancCPlugin.h", "--target", "target/"]
+ENTRYPOINT ["python2"]
+CMD ["./CodeAnalysis/ParseOrthancSDK.py", "--libclang=libclang-4.0.so.1", "--source", "source/OrthancCPlugin.h", "--target", "target/"]
--- a/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake	Wed Nov 08 08:55:12 2023 +0100
+++ b/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake	Mon Nov 13 21:12:54 2023 +0100
@@ -271,7 +271,7 @@
   else()
     message("Forking the Orthanc source repository using Mercurial")
     execute_process(
-      COMMAND ${ORTHANC_FRAMEWORK_HG} clone "https://hg.orthanc-server.com/orthanc/"
+      COMMAND ${ORTHANC_FRAMEWORK_HG} clone "https://orthanc.uclouvain.be/hg/orthanc/"
       WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
       RESULT_VARIABLE Failure
       )    
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Resources/Orthanc/CMake/EmbedResources.py	Mon Nov 13 21:12:54 2023 +0100
@@ -0,0 +1,445 @@
+#!/usr/bin/python
+
+# Orthanc - A Lightweight, RESTful DICOM Store
+# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
+# Department, University Hospital of Liege, Belgium
+# Copyright (C) 2017-2023 Osimis S.A., Belgium
+# Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
+#
+# This program is free software: you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public License
+# as published by the Free Software Foundation, either version 3 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+
+
+import sys
+import os
+import os.path
+import pprint
+import re
+
+UPCASE_CHECK = True
+USE_SYSTEM_EXCEPTION = False
+EXCEPTION_CLASS = 'OrthancException'
+OUT_OF_RANGE_EXCEPTION = '::Orthanc::OrthancException(::Orthanc::ErrorCode_ParameterOutOfRange)'
+INEXISTENT_PATH_EXCEPTION = '::Orthanc::OrthancException(::Orthanc::ErrorCode_InexistentItem)'
+NAMESPACE = 'Orthanc.EmbeddedResources'
+FRAMEWORK_PATH = None
+
+ARGS = []
+for i in range(len(sys.argv)):
+    if not sys.argv[i].startswith('--'):
+        ARGS.append(sys.argv[i])
+    elif sys.argv[i].lower() == '--no-upcase-check':
+        UPCASE_CHECK = False
+    elif sys.argv[i].lower() == '--system-exception':
+        USE_SYSTEM_EXCEPTION = True
+        EXCEPTION_CLASS = '::std::runtime_error'
+        OUT_OF_RANGE_EXCEPTION = '%s("Parameter out of range")' % EXCEPTION_CLASS
+        INEXISTENT_PATH_EXCEPTION = '%s("Unknown path in a directory resource")' % EXCEPTION_CLASS
+    elif sys.argv[i].startswith('--namespace='):
+        NAMESPACE = sys.argv[i][sys.argv[i].find('=') + 1 : ]
+    elif sys.argv[i].startswith('--framework-path='):
+        FRAMEWORK_PATH = sys.argv[i][sys.argv[i].find('=') + 1 : ]
+
+if len(ARGS) < 2 or len(ARGS) % 2 != 0:
+    print ('Usage:')
+    print ('python %s [--no-upcase-check] [--system-exception] [--namespace=<Namespace>] <TargetBaseFilename> [ <Name> <Source> ]*' % sys.argv[0])
+    exit(-1)
+
+TARGET_BASE_FILENAME = ARGS[1]
+SOURCES = ARGS[2:]
+
+try:
+    # Make sure the destination directory exists
+    os.makedirs(os.path.normpath(os.path.join(TARGET_BASE_FILENAME, '..')))
+except:
+    pass
+
+
+#####################################################################
+## Read each resource file
+#####################################################################
+
+def CheckNoUpcase(s):
+    global UPCASE_CHECK
+    if (UPCASE_CHECK and
+        re.search('[A-Z]', s) != None):
+        raise Exception("Path in a directory with an upcase letter: %s" % s)
+
+resources = {}
+
+counter = 0
+i = 0
+while i < len(SOURCES):
+    resourceName = SOURCES[i].upper()
+    pathName = SOURCES[i + 1]
+
+    if not os.path.exists(pathName):
+        raise Exception("Non existing path: %s" % pathName)
+
+    if resourceName in resources:
+        raise Exception("Twice the same resource: " + resourceName)
+    
+    if os.path.isdir(pathName):
+        # The resource is a directory: Recursively explore its files
+        content = {}
+        for root, dirs, files in os.walk(pathName):
+            dirs.sort()
+            files.sort()
+            base = os.path.relpath(root, pathName)
+
+            # Fix issue #24 (Build fails on OSX when directory has .DS_Store files):
+            # Ignore folders whose name starts with a dot (".")
+            if base.find('/.') != -1:
+                print('Ignoring folder: %s' % root)
+                continue
+
+            for f in files:
+                if f.find('~') == -1:  # Ignore Emacs backup files
+                    if base == '.':
+                        r = f
+                    else:
+                        r = os.path.join(base, f)
+
+                    CheckNoUpcase(r)
+                    r = '/' + r.replace('\\', '/')
+                    if r in content:
+                        raise Exception("Twice the same filename (check case): " + r)
+
+                    content[r] = {
+                        'Filename' : os.path.join(root, f),
+                        'Index' : counter
+                        }
+                    counter += 1
+
+        resources[resourceName] = {
+            'Type' : 'Directory',
+            'Files' : content
+            }
+
+    elif os.path.isfile(pathName):
+        resources[resourceName] = {
+            'Type' : 'File',
+            'Index' : counter,
+            'Filename' : pathName
+            }
+        counter += 1
+
+    else:
+        raise Exception("Not a regular file, nor a directory: " + pathName)
+
+    i += 2
+
+#pprint.pprint(resources)
+
+
+#####################################################################
+## Write .h header
+#####################################################################
+
+header = open(TARGET_BASE_FILENAME + '.h', 'w')
+
+header.write("""
+#pragma once
+
+#include <string>
+#include <list>
+
+#if defined(_MSC_VER)
+#  pragma warning(disable: 4065)  // "Switch statement contains 'default' but no 'case' labels"
+#endif
+
+""")
+
+
+for ns in NAMESPACE.split('.'):
+    header.write('namespace %s {\n' % ns)
+    
+
+header.write("""
+    enum FileResourceId
+    {
+""")
+
+isFirst = True
+for name in resources:
+    if resources[name]['Type'] == 'File':
+        if isFirst:
+            isFirst = False
+        else:    
+            header.write(',\n')
+        header.write('      %s' % name)
+
+header.write("""
+    };
+
+    enum DirectoryResourceId
+    {
+""")
+
+isFirst = True
+for name in resources:
+    if resources[name]['Type'] == 'Directory':
+        if isFirst:
+            isFirst = False
+        else:    
+            header.write(',\n')
+        header.write('      %s' % name)
+
+header.write("""
+    };
+
+    const void* GetFileResourceBuffer(FileResourceId id);
+    size_t GetFileResourceSize(FileResourceId id);
+    void GetFileResource(std::string& result, FileResourceId id);
+
+    const void* GetDirectoryResourceBuffer(DirectoryResourceId id, const char* path);
+    size_t GetDirectoryResourceSize(DirectoryResourceId id, const char* path);
+    void GetDirectoryResource(std::string& result, DirectoryResourceId id, const char* path);
+
+    void ListResources(std::list<std::string>& result, DirectoryResourceId id);
+
+""")
+
+
+for ns in NAMESPACE.split('.'):
+    header.write('}\n')
+
+header.close()
+
+
+
+#####################################################################
+## Write the resource content in the .cpp source
+#####################################################################
+
+PYTHON_MAJOR_VERSION = sys.version_info[0]
+
+def WriteResource(cpp, item):
+    cpp.write('    static const uint8_t resource%dBuffer[] = {' % item['Index'])
+
+    f = open(item['Filename'], "rb")
+    content = f.read()
+    f.close()
+
+    # http://stackoverflow.com/a/1035360
+    pos = 0
+    buffer = []  # instead of appending a few bytes at a time to the cpp file, 
+                 # we first append each chunk to a list, join it and write it 
+                 # to the file.  We've measured that it was 2-3 times faster in python3.
+                 # Note that speed is important since if generation is too slow,
+                 # cmake might try to compile the EmbeddedResources.cpp file while it is
+                 # still being generated !
+    for b in content:
+        if PYTHON_MAJOR_VERSION == 2:
+            c = ord(b[0])
+        else:
+            c = b
+
+        if pos > 0:
+            buffer.append(",")
+
+        if (pos % 16) == 0:
+            buffer.append("\n")
+
+        if c < 0:
+            raise Exception("Internal error")
+
+        buffer.append("0x%02x" % c)
+        pos += 1
+
+    cpp.write("".join(buffer))
+    # Zero-size array are disallowed, so we put one single void character in it.
+    if pos == 0:
+        cpp.write('  0')
+
+    cpp.write('  };\n')
+    cpp.write('    static const size_t resource%dSize = %d;\n' % (item['Index'], pos))
+
+
+cpp = open(TARGET_BASE_FILENAME + '.cpp', 'w')
+
+cpp.write('#include "%s.h"\n' % os.path.basename(TARGET_BASE_FILENAME))
+
+if USE_SYSTEM_EXCEPTION:
+    cpp.write('#include <stdexcept>')
+elif FRAMEWORK_PATH != None:
+    cpp.write('#include "%s/OrthancException.h"' % FRAMEWORK_PATH)
+else:
+    cpp.write('#include <OrthancException.h>')
+
+cpp.write("""
+#include <stdint.h>
+#include <string.h>
+
+""")
+
+for ns in NAMESPACE.split('.'):
+    cpp.write('namespace %s {\n' % ns)
+
+
+for name in resources:
+    if resources[name]['Type'] == 'File':
+        WriteResource(cpp, resources[name])
+    else:
+        for f in resources[name]['Files']:
+            WriteResource(cpp, resources[name]['Files'][f])
+
+
+
+#####################################################################
+## Write the accessors to the file resources in .cpp
+#####################################################################
+
+cpp.write("""
+    const void* GetFileResourceBuffer(FileResourceId id)
+    {
+      switch (id)
+      {
+""")
+for name in resources:
+    if resources[name]['Type'] == 'File':
+        cpp.write('      case %s:\n' % name)
+        cpp.write('        return resource%dBuffer;\n' % resources[name]['Index'])
+
+cpp.write("""
+      default:
+        throw %s;
+      }
+    }
+
+    size_t GetFileResourceSize(FileResourceId id)
+    {
+      switch (id)
+      {
+""" % OUT_OF_RANGE_EXCEPTION)
+
+for name in resources:
+    if resources[name]['Type'] == 'File':
+        cpp.write('      case %s:\n' % name)
+        cpp.write('        return resource%dSize;\n' % resources[name]['Index'])
+
+cpp.write("""
+      default:
+        throw %s;
+      }
+    }
+""" % OUT_OF_RANGE_EXCEPTION)
+
+
+
+#####################################################################
+## Write the accessors to the directory resources in .cpp
+#####################################################################
+
+cpp.write("""
+    const void* GetDirectoryResourceBuffer(DirectoryResourceId id, const char* path)
+    {
+      switch (id)
+      {
+""")
+
+for name in resources:
+    if resources[name]['Type'] == 'Directory':
+        cpp.write('      case %s:\n' % name)
+        isFirst = True
+        for path in resources[name]['Files']:
+            cpp.write('        if (!strcmp(path, "%s"))\n' % path)
+            cpp.write('          return resource%dBuffer;\n' % resources[name]['Files'][path]['Index'])
+        cpp.write('        throw %s;\n\n' % INEXISTENT_PATH_EXCEPTION)
+
+cpp.write("""      default:
+        throw %s;
+      }
+    }
+
+    size_t GetDirectoryResourceSize(DirectoryResourceId id, const char* path)
+    {
+      switch (id)
+      {
+""" % OUT_OF_RANGE_EXCEPTION)
+
+for name in resources:
+    if resources[name]['Type'] == 'Directory':
+        cpp.write('      case %s:\n' % name)
+        isFirst = True
+        for path in resources[name]['Files']:
+            cpp.write('        if (!strcmp(path, "%s"))\n' % path)
+            cpp.write('          return resource%dSize;\n' % resources[name]['Files'][path]['Index'])
+        cpp.write('        throw %s;\n\n' % INEXISTENT_PATH_EXCEPTION)
+
+cpp.write("""      default:
+        throw %s;
+      }
+    }
+""" % OUT_OF_RANGE_EXCEPTION)
+
+
+
+
+#####################################################################
+## List the resources in a directory
+#####################################################################
+
+cpp.write("""
+    void ListResources(std::list<std::string>& result, DirectoryResourceId id)
+    {
+      result.clear();
+
+      switch (id)
+      {
+""")
+
+for name in resources:
+    if resources[name]['Type'] == 'Directory':
+        cpp.write('      case %s:\n' % name)
+        for path in sorted(resources[name]['Files']):
+            cpp.write('        result.push_back("%s");\n' % path)
+        cpp.write('        break;\n\n')
+
+cpp.write("""      default:
+        throw %s;
+      }
+    }
+""" % OUT_OF_RANGE_EXCEPTION)
+
+
+
+
+#####################################################################
+## Write the convenience wrappers in .cpp
+#####################################################################
+
+cpp.write("""
+    void GetFileResource(std::string& result, FileResourceId id)
+    {
+      size_t size = GetFileResourceSize(id);
+      result.resize(size);
+      if (size > 0)
+        memcpy(&result[0], GetFileResourceBuffer(id), size);
+    }
+
+    void GetDirectoryResource(std::string& result, DirectoryResourceId id, const char* path)
+    {
+      size_t size = GetDirectoryResourceSize(id, path);
+      result.resize(size);
+      if (size > 0)
+        memcpy(&result[0], GetDirectoryResourceBuffer(id, path), size);
+    }
+""")
+
+
+for ns in NAMESPACE.split('.'):
+    cpp.write('}\n')
+
+cpp.close()
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Resources/Orthanc/CMake/GoogleTestConfiguration.cmake	Mon Nov 13 21:12:54 2023 +0100
@@ -0,0 +1,90 @@
+# Orthanc - A Lightweight, RESTful DICOM Store
+# Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
+# Department, University Hospital of Liege, Belgium
+# Copyright (C) 2017-2023 Osimis S.A., Belgium
+# Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
+#
+# This program is free software: you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public License
+# as published by the Free Software Foundation, either version 3 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+
+
+if (USE_GOOGLE_TEST_DEBIAN_PACKAGE)
+  find_path(GOOGLE_TEST_DEBIAN_SOURCES_DIR
+    NAMES src/gtest-all.cc
+    PATHS
+    ${CROSSTOOL_NG_IMAGE}/usr/src/gtest
+    ${CROSSTOOL_NG_IMAGE}/usr/src/googletest/googletest
+    PATH_SUFFIXES src
+    )
+
+  find_path(GOOGLE_TEST_DEBIAN_INCLUDE_DIR
+    NAMES gtest.h
+    PATHS
+    ${CROSSTOOL_NG_IMAGE}/usr/include/gtest
+    )
+
+  message("Path to the Debian Google Test sources: ${GOOGLE_TEST_DEBIAN_SOURCES_DIR}")
+  message("Path to the Debian Google Test includes: ${GOOGLE_TEST_DEBIAN_INCLUDE_DIR}")
+
+  set(GOOGLE_TEST_SOURCES
+    ${GOOGLE_TEST_DEBIAN_SOURCES_DIR}/src/gtest-all.cc
+    )
+
+  include_directories(${GOOGLE_TEST_DEBIAN_SOURCES_DIR})
+
+  if (NOT EXISTS ${GOOGLE_TEST_SOURCES} OR
+      NOT EXISTS ${GOOGLE_TEST_DEBIAN_INCLUDE_DIR}/gtest.h)
+    message(FATAL_ERROR "Please install the libgtest-dev package")
+  endif()
+
+elseif (STATIC_BUILD OR NOT USE_SYSTEM_GOOGLE_TEST)
+  set(GOOGLE_TEST_SOURCES_DIR ${CMAKE_BINARY_DIR}/googletest-release-1.8.1)
+  set(GOOGLE_TEST_URL "https://orthanc.uclouvain.be/third-party-downloads/gtest-1.8.1.tar.gz")
+  set(GOOGLE_TEST_MD5 "2e6fbeb6a91310a16efe181886c59596")
+
+  DownloadPackage(${GOOGLE_TEST_MD5} ${GOOGLE_TEST_URL} "${GOOGLE_TEST_SOURCES_DIR}")
+
+  include_directories(
+    ${GOOGLE_TEST_SOURCES_DIR}/googletest
+    ${GOOGLE_TEST_SOURCES_DIR}/googletest/include
+    ${GOOGLE_TEST_SOURCES_DIR}
+    )
+
+  set(GOOGLE_TEST_SOURCES
+    ${GOOGLE_TEST_SOURCES_DIR}/googletest/src/gtest-all.cc
+    )
+
+  # https://code.google.com/p/googletest/issues/detail?id=412
+  if (MSVC) # VS2012 does not support tuples correctly yet
+    add_definitions(/D _VARIADIC_MAX=10)
+  endif()
+  
+  if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase")
+    add_definitions(-DGTEST_HAS_CLONE=0)
+  endif()
+  
+  source_group(ThirdParty\\GoogleTest REGULAR_EXPRESSION ${GOOGLE_TEST_SOURCES_DIR}/.*)
+
+else()
+  include(FindGTest)
+  if (NOT GTEST_FOUND)
+    message(FATAL_ERROR "Unable to find GoogleTest")
+  endif()
+
+  include_directories(${GTEST_INCLUDE_DIRS})
+
+  # The variable GTEST_LIBRARIES contains the shared library of
+  # Google Test, create an alias for more uniformity
+  set(GOOGLE_TEST_LIBRARIES ${GTEST_LIBRARIES})
+endif()
--- a/Resources/SyncOrthancFolder.py	Wed Nov 08 08:55:12 2023 +0100
+++ b/Resources/SyncOrthancFolder.py	Mon Nov 13 21:12:54 2023 +0100
@@ -9,23 +9,22 @@
 import os
 import stat
 import urllib.request
-import subprocess
 
 TARGET = os.path.join(os.path.dirname(__file__), 'Orthanc')
 PLUGIN_SDK_VERSION = '1.10.0'
-REPOSITORY = 'https://hg.orthanc-server.com/orthanc/raw-file'
+REPOSITORY = 'https://orthanc.uclouvain.be/hg/orthanc/raw-file'
 
 FILES = [
     ('OrthancFramework/Resources/CMake/AutoGeneratedCode.cmake', 'CMake'),
     ('OrthancFramework/Resources/CMake/Compiler.cmake', 'CMake'),
     ('OrthancFramework/Resources/CMake/DownloadOrthancFramework.cmake', 'CMake'),
     ('OrthancFramework/Resources/CMake/DownloadPackage.cmake', 'CMake'),
-
+    ('OrthancFramework/Resources/CMake/GoogleTestConfiguration.cmake', 'CMake'),
+    ('OrthancFramework/Resources/EmbedResources.py', 'CMake'),
     ('OrthancFramework/Resources/Toolchains/LinuxStandardBaseToolchain.cmake', 'Toolchains'),
     ('OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain32.cmake', 'Toolchains'),
     ('OrthancFramework/Resources/Toolchains/MinGW-W64-Toolchain64.cmake', 'Toolchains'),
     ('OrthancFramework/Resources/Toolchains/MinGWToolchain.cmake', 'Toolchains'),
-
     ('OrthancServer/Plugins/Samples/Common/ExportedSymbolsPlugins.list', 'Plugins'),
     ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp', 'Plugins'),
     ('OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h', 'Plugins'),
@@ -77,13 +76,3 @@
 
 pool = multiprocessing.Pool(10)  # simultaneous downloads
 pool.map(Download, commands)
-
-
-# Patch the SDK, if need be
-patch = os.path.join(os.path.abspath(os.path.dirname(__file__)),
-                     'OrthancCPlugin-%s.patch' % PLUGIN_SDK_VERSION)
-if os.path.exists(patch):
-    subprocess.check_call([ 'patch', '-p0', '-i', patch ],
-                          cwd = os.path.join(os.path.dirname(__file__),
-                                             'Orthanc',
-                                             'Sdk-%s' % PLUGIN_SDK_VERSION, 'orthanc'))
--- a/Sources/Autogenerated/CodeModel.json	Wed Nov 08 08:55:12 2023 +0100
+++ b/Sources/Autogenerated/CodeModel.json	Mon Nov 13 21:12:54 2023 +0100
@@ -1,4127 +1,4127 @@
 {
     "classes": [
         {
-            "class_name": "OrthancPluginDicomInstance",
+            "class_name": "OrthancPluginDicomInstance", 
             "custom_methods": [
                 {
-                    "class_name": "OrthancPluginDicomInstance",
-                    "implementation": "GetInstanceData",
-                    "method_name": "GetInstanceData",
+                    "class_name": "OrthancPluginDicomInstance", 
+                    "implementation": "GetInstanceData", 
+                    "method_name": "GetInstanceData", 
                     "sdk_function": "OrthancPluginGetInstanceData"
                 }
-            ],
-            "destructor": "OrthancPluginFreeDicomInstance",
+            ], 
+            "destructor": "OrthancPluginFreeDicomInstance", 
             "methods": [
                 {
-                    "args": [],
-                    "c_function": "OrthancPluginGetInstanceRemoteAet",
-                    "return_sdk_type": "const char *",
-                    "return_static_string": true,
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceRemoteAet",
+                    "args": [], 
+                    "c_function": "OrthancPluginGetInstanceRemoteAet", 
+                    "return_sdk_type": "const char *", 
+                    "return_static_string": true, 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceRemoteAet", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetInstanceSize",
-                    "return_long": true,
-                    "return_sdk_type": "int64_t",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceSize",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetInstanceSize", 
+                    "return_long": true, 
+                    "return_sdk_type": "int64_t", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceSize", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetInstanceJson",
-                    "return_dynamic_string": true,
-                    "return_sdk_type": "char *",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceJson",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetInstanceJson", 
+                    "return_dynamic_string": true, 
+                    "return_sdk_type": "char *", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceJson", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetInstanceSimplifiedJson",
-                    "return_dynamic_string": true,
-                    "return_sdk_type": "char *",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceSimplifiedJson",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetInstanceSimplifiedJson", 
+                    "return_dynamic_string": true, 
+                    "return_sdk_type": "char *", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceSimplifiedJson", 
                     "tuple_format": "\"\", "
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "metadata",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "metadata", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginHasInstanceMetadata",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_long": true,
-                    "return_sdk_type": "int32_t",
-                    "self": ", self->object_",
-                    "short_name": "HasInstanceMetadata",
+                    ], 
+                    "c_function": "OrthancPluginHasInstanceMetadata", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_long": true, 
+                    "return_sdk_type": "int32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "HasInstanceMetadata", 
                     "tuple_format": "\"s\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "metadata",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "metadata", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetInstanceMetadata",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_sdk_type": "const char *",
-                    "return_static_string": true,
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceMetadata",
+                    ], 
+                    "c_function": "OrthancPluginGetInstanceMetadata", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_sdk_type": "const char *", 
+                    "return_static_string": true, 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceMetadata", 
                     "tuple_format": "\"s\", &arg0"
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetInstanceOrigin",
-                    "return_enumeration": "OrthancPluginInstanceOrigin",
-                    "return_sdk_enumeration": "OrthancPluginInstanceOrigin",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceOrigin",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetInstanceOrigin", 
+                    "return_enumeration": "OrthancPluginInstanceOrigin", 
+                    "return_sdk_enumeration": "OrthancPluginInstanceOrigin", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceOrigin", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetInstanceTransferSyntaxUid",
-                    "return_dynamic_string": true,
-                    "return_sdk_type": "char *",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceTransferSyntaxUid",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetInstanceTransferSyntaxUid", 
+                    "return_dynamic_string": true, 
+                    "return_sdk_type": "char *", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceTransferSyntaxUid", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginHasInstancePixelData",
-                    "return_long": true,
-                    "return_sdk_type": "int32_t",
-                    "self": ", self->object_",
-                    "short_name": "HasInstancePixelData",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginHasInstancePixelData", 
+                    "return_long": true, 
+                    "return_sdk_type": "int32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "HasInstancePixelData", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetInstanceFramesCount",
-                    "return_long": true,
-                    "return_sdk_type": "uint32_t",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceFramesCount",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetInstanceFramesCount", 
+                    "return_long": true, 
+                    "return_sdk_type": "uint32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceFramesCount", 
                     "tuple_format": "\"\", "
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "frameIndex",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "frameIndex", 
                             "sdk_type": "uint32_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetInstanceRawFrame",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_bytes": true,
-                    "return_sdk_type": "OrthancPluginMemoryBuffer *",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceRawFrame",
+                    ], 
+                    "c_function": "OrthancPluginGetInstanceRawFrame", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_bytes": true, 
+                    "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceRawFrame", 
                     "tuple_format": "\"k\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "frameIndex",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "frameIndex", 
                             "sdk_type": "uint32_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetInstanceDecodedFrame",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_object": "OrthancPluginImage",
-                    "return_sdk_class": "OrthancPluginImage",
-                    "return_sdk_type": "object",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceDecodedFrame",
+                    ], 
+                    "c_function": "OrthancPluginGetInstanceDecodedFrame", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_object": "OrthancPluginImage", 
+                    "return_sdk_class": "OrthancPluginImage", 
+                    "return_sdk_type": "object", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceDecodedFrame", 
                     "tuple_format": "\"k\", &arg0"
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginSerializeDicomInstance",
-                    "return_bytes": true,
-                    "return_sdk_type": "OrthancPluginMemoryBuffer *",
-                    "self": ", self->object_",
-                    "short_name": "SerializeDicomInstance",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginSerializeDicomInstance", 
+                    "return_bytes": true, 
+                    "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+                    "self": ", self->object_", 
+                    "short_name": "SerializeDicomInstance", 
                     "tuple_format": "\"\", "
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg0)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginDicomToJsonFormat",
-                            "sdk_name": "format",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg0)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginDicomToJsonFormat", 
+                            "sdk_name": "format", 
                             "sdk_type": "enumeration"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg1",
-                            "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg1)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginDicomToJsonFlags",
-                            "sdk_name": "flags",
+                            "initialization": " = 0", 
+                            "name": "arg1", 
+                            "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg1)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginDicomToJsonFlags", 
+                            "sdk_name": "flags", 
                             "sdk_type": "enumeration"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg2",
-                            "orthanc_cast": "arg2",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "maxStringLength",
+                            "initialization": " = 0", 
+                            "name": "arg2", 
+                            "orthanc_cast": "arg2", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "maxStringLength", 
                             "sdk_type": "uint32_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetInstanceAdvancedJson",
-                    "call_args": ", static_cast<OrthancPluginDicomToJsonFormat>(arg0), static_cast<OrthancPluginDicomToJsonFlags>(arg1), arg2",
-                    "count_args": 3,
-                    "has_args": true,
-                    "return_dynamic_string": true,
-                    "return_sdk_type": "char *",
-                    "self": ", self->object_",
-                    "short_name": "GetInstanceAdvancedJson",
+                    ], 
+                    "c_function": "OrthancPluginGetInstanceAdvancedJson", 
+                    "call_args": ", static_cast<OrthancPluginDicomToJsonFormat>(arg0), static_cast<OrthancPluginDicomToJsonFlags>(arg1), arg2", 
+                    "count_args": 3, 
+                    "has_args": true, 
+                    "return_dynamic_string": true, 
+                    "return_sdk_type": "char *", 
+                    "self": ", self->object_", 
+                    "short_name": "GetInstanceAdvancedJson", 
                     "tuple_format": "\"llk\", &arg0, &arg1, &arg2"
                 }
-            ],
+            ], 
             "short_name": "DicomInstance"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginDicomWebNode",
-            "custom_methods": [],
-            "methods": [],
+            "class_name": "OrthancPluginDicomWebNode", 
+            "custom_methods": [], 
+            "methods": [], 
             "short_name": "DicomWebNode"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginFindAnswers",
-            "custom_methods": [],
+            "class_name": "OrthancPluginFindAnswers", 
+            "custom_methods": [], 
             "methods": [
                 {
                     "args": [
                         {
-                            "name": "arg0",
-                            "orthanc_cast": "arg0.buf, arg0.len",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg0);",
-                            "sdk_name": "dicom",
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0.buf, arg0.len", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg0);", 
+                            "sdk_name": "dicom", 
                             "sdk_type": "const_void_pointer_with_size"
                         }
-                    ],
-                    "c_function": "OrthancPluginFindAddAnswer",
-                    "call_args": ", arg0.buf, arg0.len",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "FindAddAnswer",
+                    ], 
+                    "c_function": "OrthancPluginFindAddAnswer", 
+                    "call_args": ", arg0.buf, arg0.len", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "FindAddAnswer", 
                     "tuple_format": "\"s*\", &arg0"
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginFindMarkIncomplete",
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "FindMarkIncomplete",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginFindMarkIncomplete", 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "FindMarkIncomplete", 
                     "tuple_format": "\"\", "
                 }
-            ],
+            ], 
             "short_name": "FindAnswers"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginFindMatcher",
-            "custom_methods": [],
-            "destructor": "OrthancPluginFreeFindMatcher",
+            "class_name": "OrthancPluginFindMatcher", 
+            "custom_methods": [], 
+            "destructor": "OrthancPluginFreeFindMatcher", 
             "methods": [
                 {
                     "args": [
                         {
-                            "name": "arg0",
-                            "orthanc_cast": "arg0.buf, arg0.len",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg0);",
-                            "sdk_name": "dicom",
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0.buf, arg0.len", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg0);", 
+                            "sdk_name": "dicom", 
                             "sdk_type": "const_void_pointer_with_size"
                         }
-                    ],
-                    "c_function": "OrthancPluginFindMatcherIsMatch",
-                    "call_args": ", arg0.buf, arg0.len",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_long": true,
-                    "return_sdk_type": "int32_t",
-                    "self": ", self->object_",
-                    "short_name": "FindMatcherIsMatch",
+                    ], 
+                    "c_function": "OrthancPluginFindMatcherIsMatch", 
+                    "call_args": ", arg0.buf, arg0.len", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_long": true, 
+                    "return_sdk_type": "int32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "FindMatcherIsMatch", 
                     "tuple_format": "\"s*\", &arg0"
                 }
-            ],
+            ], 
             "short_name": "FindMatcher"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginFindQuery",
+            "class_name": "OrthancPluginFindQuery", 
             "custom_methods": [
                 {
-                    "class_name": "OrthancPluginFindQuery",
-                    "implementation": "GetFindQueryTagGroup",
-                    "method_name": "GetFindQueryTagGroup",
+                    "class_name": "OrthancPluginFindQuery", 
+                    "implementation": "GetFindQueryTagGroup", 
+                    "method_name": "GetFindQueryTagGroup", 
                     "sdk_function": "OrthancPluginGetFindQueryTag"
-                },
-                {
-                    "class_name": "OrthancPluginFindQuery",
-                    "implementation": "GetFindQueryTagElement",
-                    "method_name": "GetFindQueryTagElement",
+                }, 
+                {
+                    "class_name": "OrthancPluginFindQuery", 
+                    "implementation": "GetFindQueryTagElement", 
+                    "method_name": "GetFindQueryTagElement", 
                     "sdk_function": "OrthancPluginGetFindQueryTag"
                 }
-            ],
+            ], 
             "methods": [
                 {
-                    "args": [],
-                    "c_function": "OrthancPluginGetFindQuerySize",
-                    "return_long": true,
-                    "return_sdk_type": "uint32_t",
-                    "self": ", self->object_",
-                    "short_name": "GetFindQuerySize",
+                    "args": [], 
+                    "c_function": "OrthancPluginGetFindQuerySize", 
+                    "return_long": true, 
+                    "return_sdk_type": "uint32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "GetFindQuerySize", 
                     "tuple_format": "\"\", "
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "index",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "index", 
                             "sdk_type": "uint32_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetFindQueryTagName",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_dynamic_string": true,
-                    "return_sdk_type": "char *",
-                    "self": ", self->object_",
-                    "short_name": "GetFindQueryTagName",
+                    ], 
+                    "c_function": "OrthancPluginGetFindQueryTagName", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_dynamic_string": true, 
+                    "return_sdk_type": "char *", 
+                    "self": ", self->object_", 
+                    "short_name": "GetFindQueryTagName", 
                     "tuple_format": "\"k\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "index",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "index", 
                             "sdk_type": "uint32_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetFindQueryValue",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_dynamic_string": true,
-                    "return_sdk_type": "char *",
-                    "self": ", self->object_",
-                    "short_name": "GetFindQueryValue",
+                    ], 
+                    "c_function": "OrthancPluginGetFindQueryValue", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_dynamic_string": true, 
+                    "return_sdk_type": "char *", 
+                    "self": ", self->object_", 
+                    "short_name": "GetFindQueryValue", 
                     "tuple_format": "\"k\", &arg0"
                 }
-            ],
+            ], 
             "short_name": "FindQuery"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginImage",
+            "class_name": "OrthancPluginImage", 
             "custom_methods": [
                 {
-                    "class_name": "OrthancPluginImage",
-                    "implementation": "GetImageBuffer",
-                    "method_name": "GetImageBuffer",
+                    "class_name": "OrthancPluginImage", 
+                    "implementation": "GetImageBuffer", 
+                    "method_name": "GetImageBuffer", 
                     "sdk_function": "OrthancPluginGetImageBuffer"
                 }
-            ],
-            "destructor": "OrthancPluginFreeImage",
+            ], 
+            "destructor": "OrthancPluginFreeImage", 
             "methods": [
                 {
-                    "args": [],
-                    "c_function": "OrthancPluginGetImagePixelFormat",
-                    "return_enumeration": "OrthancPluginPixelFormat",
-                    "return_sdk_enumeration": "OrthancPluginPixelFormat",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "GetImagePixelFormat",
+                    "args": [], 
+                    "c_function": "OrthancPluginGetImagePixelFormat", 
+                    "return_enumeration": "OrthancPluginPixelFormat", 
+                    "return_sdk_enumeration": "OrthancPluginPixelFormat", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "GetImagePixelFormat", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetImageWidth",
-                    "return_long": true,
-                    "return_sdk_type": "uint32_t",
-                    "self": ", self->object_",
-                    "short_name": "GetImageWidth",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetImageWidth", 
+                    "return_long": true, 
+                    "return_sdk_type": "uint32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "GetImageWidth", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetImageHeight",
-                    "return_long": true,
-                    "return_sdk_type": "uint32_t",
-                    "self": ", self->object_",
-                    "short_name": "GetImageHeight",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetImageHeight", 
+                    "return_long": true, 
+                    "return_sdk_type": "uint32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "GetImageHeight", 
                     "tuple_format": "\"\", "
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginGetImagePitch",
-                    "return_long": true,
-                    "return_sdk_type": "uint32_t",
-                    "self": ", self->object_",
-                    "short_name": "GetImagePitch",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginGetImagePitch", 
+                    "return_long": true, 
+                    "return_sdk_type": "uint32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "GetImagePitch", 
                     "tuple_format": "\"\", "
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginPixelFormat",
-                            "sdk_name": "targetFormat",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginPixelFormat", 
+                            "sdk_name": "targetFormat", 
                             "sdk_type": "enumeration"
                         }
-                    ],
-                    "c_function": "OrthancPluginConvertPixelFormat",
-                    "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0)",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_object": "OrthancPluginImage",
-                    "return_sdk_class": "OrthancPluginImage",
-                    "return_sdk_type": "object",
-                    "self": ", self->object_",
-                    "short_name": "ConvertPixelFormat",
+                    ], 
+                    "c_function": "OrthancPluginConvertPixelFormat", 
+                    "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0)", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_object": "OrthancPluginImage", 
+                    "return_sdk_class": "OrthancPluginImage", 
+                    "return_sdk_type": "object", 
+                    "self": ", self->object_", 
+                    "short_name": "ConvertPixelFormat", 
                     "tuple_format": "\"l\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "fontIndex",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "fontIndex", 
                             "sdk_type": "uint32_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = NULL",
-                            "name": "arg1",
-                            "orthanc_cast": "arg1",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "utf8Text",
+                            "initialization": " = NULL", 
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "utf8Text", 
                             "sdk_type": "const char *"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg2",
-                            "orthanc_cast": "arg2",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_name": "x",
+                            "initialization": " = 0", 
+                            "name": "arg2", 
+                            "orthanc_cast": "arg2", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_name": "x", 
                             "sdk_type": "int32_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg3",
-                            "orthanc_cast": "arg3",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_name": "y",
+                            "initialization": " = 0", 
+                            "name": "arg3", 
+                            "orthanc_cast": "arg3", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_name": "y", 
                             "sdk_type": "int32_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg4",
-                            "orthanc_cast": "arg4",
-                            "python_format": "b",
-                            "python_type": "unsigned char",
-                            "sdk_name": "r",
+                            "initialization": " = 0", 
+                            "name": "arg4", 
+                            "orthanc_cast": "arg4", 
+                            "python_format": "b", 
+                            "python_type": "unsigned char", 
+                            "sdk_name": "r", 
                             "sdk_type": "uint8_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg5",
-                            "orthanc_cast": "arg5",
-                            "python_format": "b",
-                            "python_type": "unsigned char",
-                            "sdk_name": "g",
+                            "initialization": " = 0", 
+                            "name": "arg5", 
+                            "orthanc_cast": "arg5", 
+                            "python_format": "b", 
+                            "python_type": "unsigned char", 
+                            "sdk_name": "g", 
                             "sdk_type": "uint8_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg6",
-                            "orthanc_cast": "arg6",
-                            "python_format": "b",
-                            "python_type": "unsigned char",
-                            "sdk_name": "b",
+                            "initialization": " = 0", 
+                            "name": "arg6", 
+                            "orthanc_cast": "arg6", 
+                            "python_format": "b", 
+                            "python_type": "unsigned char", 
+                            "sdk_name": "b", 
                             "sdk_type": "uint8_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginDrawText",
-                    "call_args": ", arg0, arg1, arg2, arg3, arg4, arg5, arg6",
-                    "count_args": 7,
-                    "has_args": true,
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "DrawText",
+                    ], 
+                    "c_function": "OrthancPluginDrawText", 
+                    "call_args": ", arg0, arg1, arg2, arg3, arg4, arg5, arg6", 
+                    "count_args": 7, 
+                    "has_args": true, 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "DrawText", 
                     "tuple_format": "\"ksllbbb\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6"
                 }
-            ],
+            ], 
             "short_name": "Image"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginJob",
-            "custom_methods": [],
-            "destructor": "OrthancPluginFreeJob",
+            "class_name": "OrthancPluginJob", 
+            "custom_methods": [], 
+            "destructor": "OrthancPluginFreeJob", 
             "methods": [
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_name": "priority",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_name": "priority", 
                             "sdk_type": "int32_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginSubmitJob",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_dynamic_string": true,
-                    "return_sdk_type": "char *",
-                    "self": ", self->object_",
-                    "short_name": "SubmitJob",
+                    ], 
+                    "c_function": "OrthancPluginSubmitJob", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_dynamic_string": true, 
+                    "return_sdk_type": "char *", 
+                    "self": ", self->object_", 
+                    "short_name": "SubmitJob", 
                     "tuple_format": "\"l\", &arg0"
                 }
-            ],
+            ], 
             "short_name": "Job"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginPeers",
-            "custom_methods": [],
-            "destructor": "OrthancPluginFreePeers",
+            "class_name": "OrthancPluginPeers", 
+            "custom_methods": [], 
+            "destructor": "OrthancPluginFreePeers", 
             "methods": [
                 {
-                    "args": [],
-                    "c_function": "OrthancPluginGetPeersCount",
-                    "return_long": true,
-                    "return_sdk_type": "uint32_t",
-                    "self": ", self->object_",
-                    "short_name": "GetPeersCount",
+                    "args": [], 
+                    "c_function": "OrthancPluginGetPeersCount", 
+                    "return_long": true, 
+                    "return_sdk_type": "uint32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "GetPeersCount", 
                     "tuple_format": "\"\", "
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "peerIndex",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "peerIndex", 
                             "sdk_type": "uint32_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetPeerName",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_sdk_type": "const char *",
-                    "return_static_string": true,
-                    "self": ", self->object_",
-                    "short_name": "GetPeerName",
+                    ], 
+                    "c_function": "OrthancPluginGetPeerName", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_sdk_type": "const char *", 
+                    "return_static_string": true, 
+                    "self": ", self->object_", 
+                    "short_name": "GetPeerName", 
                     "tuple_format": "\"k\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "peerIndex",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "peerIndex", 
                             "sdk_type": "uint32_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetPeerUrl",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_sdk_type": "const char *",
-                    "return_static_string": true,
-                    "self": ", self->object_",
-                    "short_name": "GetPeerUrl",
+                    ], 
+                    "c_function": "OrthancPluginGetPeerUrl", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_sdk_type": "const char *", 
+                    "return_static_string": true, 
+                    "self": ", self->object_", 
+                    "short_name": "GetPeerUrl", 
                     "tuple_format": "\"k\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "peerIndex",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "peerIndex", 
                             "sdk_type": "uint32_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = NULL",
-                            "name": "arg1",
-                            "orthanc_cast": "arg1",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "userProperty",
+                            "initialization": " = NULL", 
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "userProperty", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginGetPeerUserProperty",
-                    "call_args": ", arg0, arg1",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_sdk_type": "const char *",
-                    "return_static_string": true,
-                    "self": ", self->object_",
-                    "short_name": "GetPeerUserProperty",
+                    ], 
+                    "c_function": "OrthancPluginGetPeerUserProperty", 
+                    "call_args": ", arg0, arg1", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_sdk_type": "const char *", 
+                    "return_static_string": true, 
+                    "self": ", self->object_", 
+                    "short_name": "GetPeerUserProperty", 
                     "tuple_format": "\"ks\", &arg0, &arg1"
                 }
-            ],
+            ], 
             "short_name": "Peers"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginRestOutput",
-            "custom_methods": [],
+            "class_name": "OrthancPluginRestOutput", 
+            "custom_methods": [], 
             "methods": [
                 {
                     "args": [
                         {
-                            "name": "arg0",
-                            "orthanc_cast": "arg0.buf, arg0.len",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg0);",
-                            "sdk_name": "answer",
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0.buf, arg0.len", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg0);", 
+                            "sdk_name": "answer", 
                             "sdk_type": "const_void_pointer_with_size"
-                        },
+                        }, 
                         {
-                            "initialization": " = NULL",
-                            "name": "arg2",
-                            "orthanc_cast": "arg2",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "mimeType",
+                            "initialization": " = NULL", 
+                            "name": "arg2", 
+                            "orthanc_cast": "arg2", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "mimeType", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginAnswerBuffer",
-                    "call_args": ", arg0.buf, arg0.len, arg2",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "AnswerBuffer",
+                    ], 
+                    "c_function": "OrthancPluginAnswerBuffer", 
+                    "call_args": ", arg0.buf, arg0.len, arg2", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "AnswerBuffer", 
                     "tuple_format": "\"s*s\", &arg0, &arg2"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginPixelFormat",
-                            "sdk_name": "format",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginPixelFormat", 
+                            "sdk_name": "format", 
                             "sdk_type": "enumeration"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg1",
-                            "orthanc_cast": "arg1",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "width",
+                            "initialization": " = 0", 
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "width", 
                             "sdk_type": "uint32_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg2",
-                            "orthanc_cast": "arg2",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "height",
+                            "initialization": " = 0", 
+                            "name": "arg2", 
+                            "orthanc_cast": "arg2", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "height", 
                             "sdk_type": "uint32_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg3",
-                            "orthanc_cast": "arg3",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "pitch",
+                            "initialization": " = 0", 
+                            "name": "arg3", 
+                            "orthanc_cast": "arg3", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "pitch", 
                             "sdk_type": "uint32_t"
-                        },
+                        }, 
                         {
-                            "name": "arg4",
-                            "orthanc_cast": "arg4.buf",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg4);",
-                            "sdk_name": "buffer",
+                            "name": "arg4", 
+                            "orthanc_cast": "arg4.buf", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg4);", 
+                            "sdk_name": "buffer", 
                             "sdk_type": "const void *"
                         }
-                    ],
-                    "c_function": "OrthancPluginCompressAndAnswerPngImage",
-                    "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf",
-                    "count_args": 5,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "CompressAndAnswerPngImage",
+                    ], 
+                    "c_function": "OrthancPluginCompressAndAnswerPngImage", 
+                    "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", 
+                    "count_args": 5, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "CompressAndAnswerPngImage", 
                     "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "redirection",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "redirection", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginRedirect",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "Redirect",
+                    ], 
+                    "c_function": "OrthancPluginRedirect", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "Redirect", 
                     "tuple_format": "\"s\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "H",
-                            "python_type": "unsigned short",
-                            "sdk_name": "status",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "H", 
+                            "python_type": "unsigned short", 
+                            "sdk_name": "status", 
                             "sdk_type": "uint16_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginSendHttpStatusCode",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "SendHttpStatusCode",
+                    ], 
+                    "c_function": "OrthancPluginSendHttpStatusCode", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "SendHttpStatusCode", 
                     "tuple_format": "\"H\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "realm",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "realm", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginSendUnauthorized",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "SendUnauthorized",
+                    ], 
+                    "c_function": "OrthancPluginSendUnauthorized", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "SendUnauthorized", 
                     "tuple_format": "\"s\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "allowedMethods",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "allowedMethods", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginSendMethodNotAllowed",
-                    "call_args": ", arg0",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "SendMethodNotAllowed",
+                    ], 
+                    "c_function": "OrthancPluginSendMethodNotAllowed", 
+                    "call_args": ", arg0", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "SendMethodNotAllowed", 
                     "tuple_format": "\"s\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "cookie",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "cookie", 
                             "sdk_type": "const char *"
-                        },
+                        }, 
                         {
-                            "initialization": " = NULL",
-                            "name": "arg1",
-                            "orthanc_cast": "arg1",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "value",
+                            "initialization": " = NULL", 
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "value", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginSetCookie",
-                    "call_args": ", arg0, arg1",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "SetCookie",
+                    ], 
+                    "c_function": "OrthancPluginSetCookie", 
+                    "call_args": ", arg0, arg1", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "SetCookie", 
                     "tuple_format": "\"ss\", &arg0, &arg1"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "key",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "key", 
                             "sdk_type": "const char *"
-                        },
+                        }, 
                         {
-                            "initialization": " = NULL",
-                            "name": "arg1",
-                            "orthanc_cast": "arg1",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "value",
+                            "initialization": " = NULL", 
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "value", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginSetHttpHeader",
-                    "call_args": ", arg0, arg1",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "SetHttpHeader",
+                    ], 
+                    "c_function": "OrthancPluginSetHttpHeader", 
+                    "call_args": ", arg0, arg1", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "SetHttpHeader", 
                     "tuple_format": "\"ss\", &arg0, &arg1"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "subType",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "subType", 
                             "sdk_type": "const char *"
-                        },
+                        }, 
                         {
-                            "initialization": " = NULL",
-                            "name": "arg1",
-                            "orthanc_cast": "arg1",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "contentType",
+                            "initialization": " = NULL", 
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "contentType", 
                             "sdk_type": "const char *"
                         }
-                    ],
-                    "c_function": "OrthancPluginStartMultipartAnswer",
-                    "call_args": ", arg0, arg1",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "StartMultipartAnswer",
+                    ], 
+                    "c_function": "OrthancPluginStartMultipartAnswer", 
+                    "call_args": ", arg0, arg1", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "StartMultipartAnswer", 
                     "tuple_format": "\"ss\", &arg0, &arg1"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "name": "arg0",
-                            "orthanc_cast": "arg0.buf, arg0.len",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg0);",
-                            "sdk_name": "answer",
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0.buf, arg0.len", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg0);", 
+                            "sdk_name": "answer", 
                             "sdk_type": "const_void_pointer_with_size"
                         }
-                    ],
-                    "c_function": "OrthancPluginSendMultipartItem",
-                    "call_args": ", arg0.buf, arg0.len",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "SendMultipartItem",
+                    ], 
+                    "c_function": "OrthancPluginSendMultipartItem", 
+                    "call_args": ", arg0.buf, arg0.len", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "SendMultipartItem", 
                     "tuple_format": "\"s*\", &arg0"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "H",
-                            "python_type": "unsigned short",
-                            "sdk_name": "status",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "H", 
+                            "python_type": "unsigned short", 
+                            "sdk_name": "status", 
                             "sdk_type": "uint16_t"
-                        },
+                        }, 
                         {
-                            "name": "arg1",
-                            "orthanc_cast": "arg1.buf, arg1.len",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg1);",
-                            "sdk_name": "body",
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1.buf, arg1.len", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg1);", 
+                            "sdk_name": "body", 
                             "sdk_type": "const_void_pointer_with_size"
                         }
-                    ],
-                    "c_function": "OrthancPluginSendHttpStatus",
-                    "call_args": ", arg0, arg1.buf, arg1.len",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "SendHttpStatus",
+                    ], 
+                    "c_function": "OrthancPluginSendHttpStatus", 
+                    "call_args": ", arg0, arg1.buf, arg1.len", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "SendHttpStatus", 
                     "tuple_format": "\"Hs*\", &arg0, &arg1"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginPixelFormat",
-                            "sdk_name": "format",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginPixelFormat", 
+                            "sdk_name": "format", 
                             "sdk_type": "enumeration"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg1",
-                            "orthanc_cast": "arg1",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "width",
+                            "initialization": " = 0", 
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "width", 
                             "sdk_type": "uint32_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg2",
-                            "orthanc_cast": "arg2",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "height",
+                            "initialization": " = 0", 
+                            "name": "arg2", 
+                            "orthanc_cast": "arg2", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "height", 
                             "sdk_type": "uint32_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg3",
-                            "orthanc_cast": "arg3",
-                            "python_format": "k",
-                            "python_type": "unsigned long",
-                            "sdk_name": "pitch",
+                            "initialization": " = 0", 
+                            "name": "arg3", 
+                            "orthanc_cast": "arg3", 
+                            "python_format": "k", 
+                            "python_type": "unsigned long", 
+                            "sdk_name": "pitch", 
                             "sdk_type": "uint32_t"
-                        },
+                        }, 
                         {
-                            "name": "arg4",
-                            "orthanc_cast": "arg4.buf",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg4);",
-                            "sdk_name": "buffer",
+                            "name": "arg4", 
+                            "orthanc_cast": "arg4.buf", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg4);", 
+                            "sdk_name": "buffer", 
                             "sdk_type": "const void *"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg5",
-                            "orthanc_cast": "arg5",
-                            "python_format": "b",
-                            "python_type": "unsigned char",
-                            "sdk_name": "quality",
+                            "initialization": " = 0", 
+                            "name": "arg5", 
+                            "orthanc_cast": "arg5", 
+                            "python_format": "b", 
+                            "python_type": "unsigned char", 
+                            "sdk_name": "quality", 
                             "sdk_type": "uint8_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginCompressAndAnswerJpegImage",
-                    "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5",
-                    "count_args": 6,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "CompressAndAnswerJpegImage",
+                    ], 
+                    "c_function": "OrthancPluginCompressAndAnswerJpegImage", 
+                    "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", 
+                    "count_args": 6, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "CompressAndAnswerJpegImage", 
                     "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "details",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "details", 
                             "sdk_type": "const char *"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg1",
-                            "orthanc_cast": "arg1",
-                            "python_format": "b",
-                            "python_type": "unsigned char",
-                            "sdk_name": "log",
+                            "initialization": " = 0", 
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1", 
+                            "python_format": "b", 
+                            "python_type": "unsigned char", 
+                            "sdk_name": "log", 
                             "sdk_type": "uint8_t"
                         }
-                    ],
-                    "c_function": "OrthancPluginSetHttpErrorDetails",
-                    "call_args": ", arg0, arg1",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_sdk_type": "void",
-                    "return_void": true,
-                    "self": ", self->object_",
-                    "short_name": "SetHttpErrorDetails",
+                    ], 
+                    "c_function": "OrthancPluginSetHttpErrorDetails", 
+                    "call_args": ", arg0, arg1", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_sdk_type": "void", 
+                    "return_void": true, 
+                    "self": ", self->object_", 
+                    "short_name": "SetHttpErrorDetails", 
                     "tuple_format": "\"sb\", &arg0, &arg1"
                 }
-            ],
+            ], 
             "short_name": "RestOutput"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginServerChunkedRequestReader",
-            "custom_methods": [],
-            "methods": [],
+            "class_name": "OrthancPluginServerChunkedRequestReader", 
+            "custom_methods": [], 
+            "methods": [], 
             "short_name": "ServerChunkedRequestReader"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginStorageArea",
-            "custom_methods": [],
+            "class_name": "OrthancPluginStorageArea", 
+            "custom_methods": [], 
             "methods": [
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "uuid",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "uuid", 
                             "sdk_type": "const char *"
-                        },
+                        }, 
                         {
-                            "name": "arg1",
-                            "orthanc_cast": "arg1.buf",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg1);",
-                            "sdk_name": "content",
+                            "name": "arg1", 
+                            "orthanc_cast": "arg1.buf", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg1);", 
+                            "sdk_name": "content", 
                             "sdk_type": "const void *"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg2",
-                            "orthanc_cast": "arg2",
-                            "python_format": "K",
-                            "python_type": "unsigned long long",
-                            "sdk_name": "size",
+                            "initialization": " = 0", 
+                            "name": "arg2", 
+                            "orthanc_cast": "arg2", 
+                            "python_format": "K", 
+                            "python_type": "unsigned long long", 
+                            "sdk_name": "size", 
                             "sdk_type": "uint64_t"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg3",
-                            "orthanc_cast": "static_cast<OrthancPluginContentType>(arg3)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginContentType",
-                            "sdk_name": "type",
+                            "initialization": " = 0", 
+                            "name": "arg3", 
+                            "orthanc_cast": "static_cast<OrthancPluginContentType>(arg3)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginContentType", 
+                            "sdk_name": "type", 
                             "sdk_type": "enumeration"
                         }
-                    ],
-                    "c_function": "OrthancPluginStorageAreaCreate",
-                    "call_args": ", arg0, arg1.buf, arg2, static_cast<OrthancPluginContentType>(arg3)",
-                    "count_args": 4,
-                    "has_args": true,
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "StorageAreaCreate",
+                    ], 
+                    "c_function": "OrthancPluginStorageAreaCreate", 
+                    "call_args": ", arg0, arg1.buf, arg2, static_cast<OrthancPluginContentType>(arg3)", 
+                    "count_args": 4, 
+                    "has_args": true, 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "StorageAreaCreate", 
                     "tuple_format": "\"ss*Kl\", &arg0, &arg1, &arg2, &arg3"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "uuid",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "uuid", 
                             "sdk_type": "const char *"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg1",
-                            "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginContentType",
-                            "sdk_name": "type",
+                            "initialization": " = 0", 
+                            "name": "arg1", 
+                            "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginContentType", 
+                            "sdk_name": "type", 
                             "sdk_type": "enumeration"
                         }
-                    ],
-                    "c_function": "OrthancPluginStorageAreaRead",
-                    "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_bytes": true,
-                    "return_sdk_type": "OrthancPluginMemoryBuffer *",
-                    "self": ", self->object_",
-                    "short_name": "StorageAreaRead",
+                    ], 
+                    "c_function": "OrthancPluginStorageAreaRead", 
+                    "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_bytes": true, 
+                    "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+                    "self": ", self->object_", 
+                    "short_name": "StorageAreaRead", 
                     "tuple_format": "\"sl\", &arg0, &arg1"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = NULL",
-                            "name": "arg0",
-                            "orthanc_cast": "arg0",
-                            "python_format": "s",
-                            "python_type": "const char*",
-                            "sdk_name": "uuid",
+                            "initialization": " = NULL", 
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0", 
+                            "python_format": "s", 
+                            "python_type": "const char*", 
+                            "sdk_name": "uuid", 
                             "sdk_type": "const char *"
-                        },
+                        }, 
                         {
-                            "initialization": " = 0",
-                            "name": "arg1",
-                            "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginContentType",
-                            "sdk_name": "type",
+                            "initialization": " = 0", 
+                            "name": "arg1", 
+                            "orthanc_cast": "static_cast<OrthancPluginContentType>(arg1)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginContentType", 
+                            "sdk_name": "type", 
                             "sdk_type": "enumeration"
                         }
-                    ],
-                    "c_function": "OrthancPluginStorageAreaRemove",
-                    "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)",
-                    "count_args": 2,
-                    "has_args": true,
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "StorageAreaRemove",
+                    ], 
+                    "c_function": "OrthancPluginStorageAreaRemove", 
+                    "call_args": ", arg0, static_cast<OrthancPluginContentType>(arg1)", 
+                    "count_args": 2, 
+                    "has_args": true, 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "StorageAreaRemove", 
                     "tuple_format": "\"sl\", &arg0, &arg1"
-                },
+                }, 
                 {
                     "args": [
                         {
-                            "initialization": " = 0",
-                            "name": "arg0",
-                            "orthanc_cast": "static_cast<OrthancPluginResourceType>(arg0)",
-                            "python_format": "l",
-                            "python_type": "long int",
-                            "sdk_enumeration": "OrthancPluginResourceType",
-                            "sdk_name": "level",
+                            "initialization": " = 0", 
+                            "name": "arg0", 
+                            "orthanc_cast": "static_cast<OrthancPluginResourceType>(arg0)", 
+                            "python_format": "l", 
+                            "python_type": "long int", 
+                            "sdk_enumeration": "OrthancPluginResourceType", 
+                            "sdk_name": "level", 
                             "sdk_type": "enumeration"
                         }
-                    ],
-                    "c_function": "OrthancPluginReconstructMainDicomTags",
-                    "call_args": ", static_cast<OrthancPluginResourceType>(arg0)",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "ReconstructMainDicomTags",
+                    ], 
+                    "c_function": "OrthancPluginReconstructMainDicomTags", 
+                    "call_args": ", static_cast<OrthancPluginResourceType>(arg0)", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "ReconstructMainDicomTags", 
                     "tuple_format": "\"l\", &arg0"
                 }
-            ],
+            ], 
             "short_name": "StorageArea"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginWorklistAnswers",
+            "class_name": "OrthancPluginWorklistAnswers", 
             "custom_methods": [
                 {
-                    "class_name": "OrthancPluginWorklistAnswers",
-                    "implementation": "WorklistAddAnswer",
-                    "method_name": "WorklistAddAnswer",
+                    "class_name": "OrthancPluginWorklistAnswers", 
+                    "implementation": "WorklistAddAnswer", 
+                    "method_name": "WorklistAddAnswer", 
                     "sdk_function": "OrthancPluginWorklistAddAnswer"
                 }
-            ],
+            ], 
             "methods": [
                 {
-                    "args": [],
-                    "c_function": "OrthancPluginWorklistMarkIncomplete",
-                    "return_error": true,
-                    "return_sdk_enumeration": "OrthancPluginErrorCode",
-                    "return_sdk_type": "enumeration",
-                    "self": ", self->object_",
-                    "short_name": "WorklistMarkIncomplete",
+                    "args": [], 
+                    "c_function": "OrthancPluginWorklistMarkIncomplete", 
+                    "return_error": true, 
+                    "return_sdk_enumeration": "OrthancPluginErrorCode", 
+                    "return_sdk_type": "enumeration", 
+                    "self": ", self->object_", 
+                    "short_name": "WorklistMarkIncomplete", 
                     "tuple_format": "\"\", "
                 }
-            ],
+            ], 
             "short_name": "WorklistAnswers"
-        },
+        }, 
         {
-            "class_name": "OrthancPluginWorklistQuery",
-            "custom_methods": [],
+            "class_name": "OrthancPluginWorklistQuery", 
+            "custom_methods": [], 
             "methods": [
                 {
                     "args": [
                         {
-                            "name": "arg0",
-                            "orthanc_cast": "arg0.buf, arg0.len",
-                            "python_format": "s*",
-                            "python_type": "Py_buffer",
-                            "release": "PyBuffer_Release(&arg0);",
-                            "sdk_name": "dicom",
+                            "name": "arg0", 
+                            "orthanc_cast": "arg0.buf, arg0.len", 
+                            "python_format": "s*", 
+                            "python_type": "Py_buffer", 
+                            "release": "PyBuffer_Release(&arg0);", 
+                            "sdk_name": "dicom", 
                             "sdk_type": "const_void_pointer_with_size"
                         }
-                    ],
-                    "c_function": "OrthancPluginWorklistIsMatch",
-                    "call_args": ", arg0.buf, arg0.len",
-                    "count_args": 1,
-                    "has_args": true,
-                    "return_long": true,
-                    "return_sdk_type": "int32_t",
-                    "self": ", self->object_",
-                    "short_name": "WorklistIsMatch",
+                    ], 
+                    "c_function": "OrthancPluginWorklistIsMatch", 
+                    "call_args": ", arg0.buf, arg0.len", 
+                    "count_args": 1, 
+                    "has_args": true, 
+                    "return_long": true, 
+                    "return_sdk_type": "int32_t", 
+                    "self": ", self->object_", 
+                    "short_name": "WorklistIsMatch", 
                     "tuple_format": "\"s*\", &arg0"
-                },
-                {
-                    "args": [],
-                    "c_function": "OrthancPluginWorklistGetDicomQuery",
-                    "return_bytes": true,
-                    "return_sdk_type": "OrthancPluginMemoryBuffer *",
-                    "self": ", self->object_",
-                    "short_name": "WorklistGetDicomQuery",
+                }, 
+                {
+                    "args": [], 
+                    "c_function": "OrthancPluginWorklistGetDicomQuery", 
+                    "return_bytes": true, 
+                    "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+                    "self": ", self->object_", 
+                    "short_name": "WorklistGetDicomQuery", 
                     "tuple_format": "\"\", "
                 }
-            ],
+            ], 
             "short_name": "WorklistQuery"
         }
-    ],
+    ], 
     "enumerations": [
         {
-            "name": "OrthancPluginChangeType",
-            "path": "sdk_OrthancPluginChangeType.impl.h",
+            "name": "OrthancPluginChangeType", 
+            "path": "sdk_OrthancPluginChangeType.impl.h", 
             "values": [
                 {
-                    "key": "COMPLETED_SERIES",
+                    "key": "COMPLETED_SERIES", 
                     "value": 0
-                },
-                {
-                    "key": "DELETED",
+                }, 
+                {
+                    "key": "DELETED", 
                     "value": 1
-                },
-                {
-                    "key": "NEW_CHILD_INSTANCE",
+                }, 
+                {
+                    "key": "NEW_CHILD_INSTANCE", 
                     "value": 2
-                },
-                {
-                    "key": "NEW_INSTANCE",
+                }, 
+                {
+                    "key": "NEW_INSTANCE", 
                     "value": 3
-                },
-                {
-                    "key": "NEW_PATIENT",
+                }, 
+                {
+                    "key": "NEW_PATIENT", 
                     "value": 4
-                },
-                {
-                    "key": "NEW_SERIES",
+                }, 
+                {
+                    "key": "NEW_SERIES", 
                     "value": 5
-                },
-                {
-                    "key": "NEW_STUDY",
+                }, 
+                {
+                    "key": "NEW_STUDY", 
                     "value": 6
-                },
-                {
-                    "key": "STABLE_PATIENT",
+                }, 
+                {
+                    "key": "STABLE_PATIENT", 
                     "value": 7
-                },
-                {
-                    "key": "STABLE_SERIES",
+                }, 
+                {
+                    "key": "STABLE_SERIES", 
                     "value": 8
-                },
-                {
-                    "key": "STABLE_STUDY",
+                }, 
+                {
+                    "key": "STABLE_STUDY", 
                     "value": 9
-                },
-                {
-                    "key": "ORTHANC_STARTED",
+                }, 
+                {
+                    "key": "ORTHANC_STARTED", 
                     "value": 10
-                },
-                {
-                    "key": "ORTHANC_STOPPED",
+                }, 
+                {
+                    "key": "ORTHANC_STOPPED", 
                     "value": 11
-                },
-                {
-                    "key": "UPDATED_ATTACHMENT",
+                }, 
+                {
+                    "key": "UPDATED_ATTACHMENT", 
                     "value": 12
-                },
-                {
-                    "key": "UPDATED_METADATA",
+                }, 
+                {
+                    "key": "UPDATED_METADATA", 
                     "value": 13
-                },
-                {
-                    "key": "UPDATED_PEERS",
+                }, 
+                {
+                    "key": "UPDATED_PEERS", 
                     "value": 14
-                },
-                {
-                    "key": "UPDATED_MODALITIES",
+                }, 
+                {
+                    "key": "UPDATED_MODALITIES", 
                     "value": 15
-                },
-                {
-                    "key": "JOB_SUBMITTED",
+                }, 
+                {
+                    "key": "JOB_SUBMITTED", 
                     "value": 16
-                },
-                {
-                    "key": "JOB_SUCCESS",
+                }, 
+                {
+                    "key": "JOB_SUCCESS", 
                     "value": 17
-                },
-                {
-                    "key": "JOB_FAILURE",
+                }, 
+                {
+                    "key": "JOB_FAILURE", 
                     "value": 18
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginCompressionType",
-            "path": "sdk_OrthancPluginCompressionType.impl.h",
+            "name": "OrthancPluginCompressionType", 
+            "path": "sdk_OrthancPluginCompressionType.impl.h", 
             "values": [
                 {
-                    "key": "ZLIB",
+                    "key": "ZLIB", 
                     "value": 0
-                },
-                {
-                    "key": "ZLIB_WITH_SIZE",
+                }, 
+                {
+                    "key": "ZLIB_WITH_SIZE", 
                     "value": 1
-                },
-                {
-                    "key": "GZIP",
+                }, 
+                {
+                    "key": "GZIP", 
                     "value": 2
-                },
-                {
-                    "key": "GZIP_WITH_SIZE",
+                }, 
+                {
+                    "key": "GZIP_WITH_SIZE", 
                     "value": 3
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginConstraintType",
-            "path": "sdk_OrthancPluginConstraintType.impl.h",
+            "name": "OrthancPluginConstraintType", 
+            "path": "sdk_OrthancPluginConstraintType.impl.h", 
             "values": [
                 {
-                    "key": "EQUAL",
+                    "key": "EQUAL", 
                     "value": 1
-                },
-                {
-                    "key": "SMALLER_OR_EQUAL",
+                }, 
+                {
+                    "key": "SMALLER_OR_EQUAL", 
                     "value": 2
-                },
-                {
-                    "key": "GREATER_OR_EQUAL",
+                }, 
+                {
+                    "key": "GREATER_OR_EQUAL", 
                     "value": 3
-                },
-                {
-                    "key": "WILDCARD",
+                }, 
+                {
+                    "key": "WILDCARD", 
                     "value": 4
-                },
-                {
-                    "key": "LIST",
+                }, 
+                {
+                    "key": "LIST", 
                     "value": 5
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginContentType",
-            "path": "sdk_OrthancPluginContentType.impl.h",
+            "name": "OrthancPluginContentType", 
+            "path": "sdk_OrthancPluginContentType.impl.h", 
             "values": [
                 {
-                    "key": "UNKNOWN",
+                    "key": "UNKNOWN", 
                     "value": 0
-                },
-                {
-                    "key": "DICOM",
+                }, 
+                {
+                    "key": "DICOM", 
                     "value": 1
-                },
-                {
-                    "key": "DICOM_AS_JSON",
+                }, 
+                {
+                    "key": "DICOM_AS_JSON", 
                     "value": 2
-                },
-                {
-                    "key": "DICOM_UNTIL_PIXEL_DATA",
+                }, 
+                {
+                    "key": "DICOM_UNTIL_PIXEL_DATA", 
                     "value": 3
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginCreateDicomFlags",
-            "path": "sdk_OrthancPluginCreateDicomFlags.impl.h",
+            "name": "OrthancPluginCreateDicomFlags", 
+            "path": "sdk_OrthancPluginCreateDicomFlags.impl.h", 
             "values": [
                 {
-                    "key": "NONE",
+                    "key": "NONE", 
                     "value": 0
-                },
-                {
-                    "key": "DECODE_DATA_URI_SCHEME",
+                }, 
+                {
+                    "key": "DECODE_DATA_URI_SCHEME", 
                     "value": 1
-                },
-                {
-                    "key": "GENERATE_IDENTIFIERS",
+                }, 
+                {
+                    "key": "GENERATE_IDENTIFIERS", 
                     "value": 2
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginDicomToJsonFlags",
-            "path": "sdk_OrthancPluginDicomToJsonFlags.impl.h",
+            "name": "OrthancPluginDicomToJsonFlags", 
+            "path": "sdk_OrthancPluginDicomToJsonFlags.impl.h", 
             "values": [
                 {
-                    "key": "NONE",
+                    "key": "NONE", 
                     "value": 0
-                },
-                {
-                    "key": "INCLUDE_BINARY",
+                }, 
+                {
+                    "key": "INCLUDE_BINARY", 
                     "value": 1
-                },
-                {
-                    "key": "INCLUDE_PRIVATE_TAGS",
+                }, 
+                {
+                    "key": "INCLUDE_PRIVATE_TAGS", 
                     "value": 2
-                },
-                {
-                    "key": "INCLUDE_UNKNOWN_TAGS",
+                }, 
+                {
+                    "key": "INCLUDE_UNKNOWN_TAGS", 
                     "value": 4
-                },
-                {
-                    "key": "INCLUDE_PIXEL_DATA",
+                }, 
+                {
+                    "key": "INCLUDE_PIXEL_DATA", 
                     "value": 8
-                },
-                {
-                    "key": "CONVERT_BINARY_TO_ASCII",
+                }, 
+                {
+                    "key": "CONVERT_BINARY_TO_ASCII", 
                     "value": 16
-                },
-                {
-                    "key": "CONVERT_BINARY_TO_NULL",
+                }, 
+                {
+                    "key": "CONVERT_BINARY_TO_NULL", 
                     "value": 32
-                },
-                {
-                    "key": "STOP_AFTER_PIXEL_DATA",
+                }, 
+                {
+                    "key": "STOP_AFTER_PIXEL_DATA", 
                     "value": 64
-                },
-                {
-                    "key": "SKIP_GROUP_LENGTHS",
+                }, 
+                {
+                    "key": "SKIP_GROUP_LENGTHS", 
                     "value": 128
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginDicomToJsonFormat",
-            "path": "sdk_OrthancPluginDicomToJsonFormat.impl.h",
+            "name": "OrthancPluginDicomToJsonFormat", 
+            "path": "sdk_OrthancPluginDicomToJsonFormat.impl.h", 
             "values": [
                 {
-                    "key": "FULL",
+                    "key": "FULL", 
                     "value": 1
-                },
-                {
-                    "key": "SHORT",
+                }, 
+                {
+                    "key": "SHORT", 
                     "value": 2
-                },
-                {
-                    "key": "HUMAN",
+                }, 
+                {
+                    "key": "HUMAN", 
                     "value": 3
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginDicomWebBinaryMode",
-            "path": "sdk_OrthancPluginDicomWebBinaryMode.impl.h",
+            "name": "OrthancPluginDicomWebBinaryMode", 
+            "path": "sdk_OrthancPluginDicomWebBinaryMode.impl.h", 
             "values": [
                 {
-                    "key": "IGNORE",
+                    "key": "IGNORE", 
                     "value": 0
-                },
-                {
-                    "key": "INLINE_BINARY",
+                }, 
+                {
+                    "key": "INLINE_BINARY", 
                     "value": 1
-                },
-                {
-                    "key": "BULK_DATA_URI",
+                }, 
+                {
+                    "key": "BULK_DATA_URI", 
                     "value": 2
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginErrorCode",
-            "path": "sdk_OrthancPluginErrorCode.impl.h",
+            "name": "OrthancPluginErrorCode", 
+            "path": "sdk_OrthancPluginErrorCode.impl.h", 
             "values": [
                 {
-                    "key": "INTERNAL_ERROR",
+                    "key": "INTERNAL_ERROR", 
                     "value": -1
-                },
-                {
-                    "key": "SUCCESS",
+                }, 
+                {
+                    "key": "SUCCESS", 
                     "value": 0
-                },
-                {
-                    "key": "PLUGIN",
+                }, 
+                {
+                    "key": "PLUGIN", 
                     "value": 1
-                },
-                {
-                    "key": "NOT_IMPLEMENTED",
+                }, 
+                {
+                    "key": "NOT_IMPLEMENTED", 
                     "value": 2
-                },
-                {
-                    "key": "PARAMETER_OUT_OF_RANGE",
+                }, 
+                {
+                    "key": "PARAMETER_OUT_OF_RANGE", 
                     "value": 3
-                },
-                {
-                    "key": "NOT_ENOUGH_MEMORY",
+                }, 
+                {
+                    "key": "NOT_ENOUGH_MEMORY", 
                     "value": 4
-                },
-                {
-                    "key": "BAD_PARAMETER_TYPE",
+                }, 
+                {
+                    "key": "BAD_PARAMETER_TYPE", 
                     "value": 5
-                },
-                {
-                    "key": "BAD_SEQUENCE_OF_CALLS",
+                }, 
+                {
+                    "key": "BAD_SEQUENCE_OF_CALLS", 
                     "value": 6
-                },
-                {
-                    "key": "INEXISTENT_ITEM",
+                }, 
+                {
+                    "key": "INEXISTENT_ITEM", 
                     "value": 7
-                },
-                {
-                    "key": "BAD_REQUEST",
+                }, 
+                {
+                    "key": "BAD_REQUEST", 
                     "value": 8
-                },
-                {
-                    "key": "NETWORK_PROTOCOL",
+                }, 
+                {
+                    "key": "NETWORK_PROTOCOL", 
                     "value": 9
-                },
-                {
-                    "key": "SYSTEM_COMMAND",
+                }, 
+                {
+                    "key": "SYSTEM_COMMAND", 
                     "value": 10
-                },
-                {
-                    "key": "DATABASE",
+                }, 
+                {
+                    "key": "DATABASE", 
                     "value": 11
-                },
-                {
-                    "key": "URI_SYNTAX",
+                }, 
+                {
+                    "key": "URI_SYNTAX", 
                     "value": 12
-                },
-                {
-                    "key": "INEXISTENT_FILE",
+                }, 
+                {
+                    "key": "INEXISTENT_FILE", 
                     "value": 13
-                },
-                {
-                    "key": "CANNOT_WRITE_FILE",
+                }, 
+                {
+                    "key": "CANNOT_WRITE_FILE", 
                     "value": 14
-                },
-                {
-                    "key": "BAD_FILE_FORMAT",
+                }, 
+                {
+                    "key": "BAD_FILE_FORMAT", 
                     "value": 15
-                },
-                {
-                    "key": "TIMEOUT",
+                }, 
+                {
+                    "key": "TIMEOUT", 
                     "value": 16
-                },
-                {
-                    "key": "UNKNOWN_RESOURCE",
+                }, 
+                {
+                    "key": "UNKNOWN_RESOURCE", 
                     "value": 17
-                },
-                {
-                    "key": "INCOMPATIBLE_DATABASE_VERSION",
+                }, 
+                {
+                    "key": "INCOMPATIBLE_DATABASE_VERSION", 
                     "value": 18
-                },
-                {
-                    "key": "FULL_STORAGE",
+                }, 
+                {
+                    "key": "FULL_STORAGE", 
                     "value": 19
-                },
-                {
-                    "key": "CORRUPTED_FILE",
+                }, 
+                {
+                    "key": "CORRUPTED_FILE", 
                     "value": 20
-                },
-                {
-                    "key": "INEXISTENT_TAG",
+                }, 
+                {
+                    "key": "INEXISTENT_TAG", 
                     "value": 21
-                },
-                {
-                    "key": "READ_ONLY",
+                }, 
+                {
+                    "key": "READ_ONLY", 
                     "value": 22
-                },
-                {
-                    "key": "INCOMPATIBLE_IMAGE_FORMAT",
+                }, 
+                {
+                    "key": "INCOMPATIBLE_IMAGE_FORMAT", 
                     "value": 23
-                },
-                {
-                    "key": "INCOMPATIBLE_IMAGE_SIZE",
+                }, 
+                {
+                    "key": "INCOMPATIBLE_IMAGE_SIZE", 
                     "value": 24
-                },
-                {
-                    "key": "SHARED_LIBRARY",
+                }, 
+                {
+                    "key": "SHARED_LIBRARY", 
                     "value": 25
-                },
-                {
-                    "key": "UNKNOWN_PLUGIN_SERVICE",
+                }, 
+                {
+                    "key": "UNKNOWN_PLUGIN_SERVICE", 
                     "value": 26
-                },
-                {
-                    "key": "UNKNOWN_DICOM_TAG",
+                }, 
+                {
+                    "key": "UNKNOWN_DICOM_TAG", 
                     "value": 27
-                },
-                {
-                    "key": "BAD_JSON",
+                }, 
+                {
+                    "key": "BAD_JSON", 
                     "value": 28
-                },
-                {
-                    "key": "UNAUTHORIZED",
+                }, 
+                {
+                    "key": "UNAUTHORIZED", 
                     "value": 29
-                },
-                {
-                    "key": "BAD_FONT",
+                }, 
+                {
+                    "key": "BAD_FONT", 
                     "value": 30
-                },
-                {
-                    "key": "DATABASE_PLUGIN",
+                }, 
+                {
+                    "key": "DATABASE_PLUGIN", 
                     "value": 31
-                },
-                {
-                    "key": "STORAGE_AREA_PLUGIN",
+                }, 
+                {
+                    "key": "STORAGE_AREA_PLUGIN", 
                     "value": 32
-                },
-                {
-                    "key": "EMPTY_REQUEST",
+                }, 
+                {
+                    "key": "EMPTY_REQUEST", 
                     "value": 33
-                },
-                {
-                    "key": "NOT_ACCEPTABLE",
+                }, 
+                {
+                    "key": "NOT_ACCEPTABLE", 
                     "value": 34
-                },
-                {
-                    "key": "NULL_POINTER",
+                }, 
+                {
+                    "key": "NULL_POINTER", 
                     "value": 35
-                },
-                {
-                    "key": "DATABASE_UNAVAILABLE",
+                }, 
+                {
+                    "key": "DATABASE_UNAVAILABLE", 
                     "value": 36
-                },
-                {
-                    "key": "CANCELED_JOB",
+                }, 
+                {
+                    "key": "CANCELED_JOB", 
                     "value": 37
-                },
-                {
-                    "key": "BAD_GEOMETRY",
+                }, 
+                {
+                    "key": "BAD_GEOMETRY", 
                     "value": 38
-                },
-                {
-                    "key": "SSL_INITIALIZATION",
+                }, 
+                {
+                    "key": "SSL_INITIALIZATION", 
                     "value": 39
-                },
-                {
-                    "key": "DISCONTINUED_ABI",
+                }, 
+                {
+                    "key": "DISCONTINUED_ABI", 
                     "value": 40
-                },
-                {
-                    "key": "BAD_RANGE",
+                }, 
+                {
+                    "key": "BAD_RANGE", 
                     "value": 41
-                },
-                {
-                    "key": "DATABASE_CANNOT_SERIALIZE",
+                }, 
+                {
+                    "key": "DATABASE_CANNOT_SERIALIZE", 
                     "value": 42
-                },
-                {
-                    "key": "REVISION",
+                }, 
+                {
+                    "key": "REVISION", 
                     "value": 43
-                },
-                {
-                    "key": "SQLITE_NOT_OPENED",
+                }, 
+                {
+                    "key": "SQLITE_NOT_OPENED", 
                     "value": 1000
-                },
-                {
-                    "key": "SQLITE_ALREADY_OPENED",
+                }, 
+                {
+                    "key": "SQLITE_ALREADY_OPENED", 
                     "value": 1001
-                },
-                {
-                    "key": "SQLITE_CANNOT_OPEN",
+                }, 
+                {
+                    "key": "SQLITE_CANNOT_OPEN", 
                     "value": 1002
-                },
-                {
-                    "key": "SQLITE_STATEMENT_ALREADY_USED",
+                }, 
+                {
+                    "key": "SQLITE_STATEMENT_ALREADY_USED", 
                     "value": 1003
-                },
-                {
-                    "key": "SQLITE_EXECUTE",
+                }, 
+                {
+                    "key": "SQLITE_EXECUTE", 
                     "value": 1004
-                },
-                {
-                    "key": "SQLITE_ROLLBACK_WITHOUT_TRANSACTION",
+                }, 
+                {
+                    "key": "SQLITE_ROLLBACK_WITHOUT_TRANSACTION", 
                     "value": 1005
-                },
-                {
-                    "key": "SQLITE_COMMIT_WITHOUT_TRANSACTION",
+                }, 
+                {
+                    "key": "SQLITE_COMMIT_WITHOUT_TRANSACTION", 
                     "value": 1006
-                },
-                {
-                    "key": "SQLITE_REGISTER_FUNCTION",
+                }, 
+                {
+                    "key": "SQLITE_REGISTER_FUNCTION", 
                     "value": 1007
-                },
-                {
-                    "key": "SQLITE_FLUSH",
+                }, 
+                {
+                    "key": "SQLITE_FLUSH", 
                     "value": 1008
-                },
-                {
-                    "key": "SQLITE_CANNOT_RUN",
+                }, 
+                {
+                    "key": "SQLITE_CANNOT_RUN", 
                     "value": 1009
-                },
-                {
-                    "key": "SQLITE_CANNOT_STEP",
+                }, 
+                {
+                    "key": "SQLITE_CANNOT_STEP", 
                     "value": 1010
-                },
-                {
-                    "key": "SQLITE_BIND_OUT_OF_RANGE",
+                }, 
+                {
+                    "key": "SQLITE_BIND_OUT_OF_RANGE", 
                     "value": 1011
-                },
-                {
-                    "key": "SQLITE_PREPARE_STATEMENT",
+                }, 
+                {
+                    "key": "SQLITE_PREPARE_STATEMENT", 
                     "value": 1012
-                },
-                {
-                    "key": "SQLITE_TRANSACTION_ALREADY_STARTED",
+                }, 
+                {
+                    "key": "SQLITE_TRANSACTION_ALREADY_STARTED", 
                     "value": 1013
-                },
-                {
-                    "key": "SQLITE_TRANSACTION_COMMIT",
+                }, 
+                {
+                    "key": "SQLITE_TRANSACTION_COMMIT", 
                     "value": 1014
-                },
-                {
-                    "key": "SQLITE_TRANSACTION_BEGIN",
+                }, 
+                {
+                    "key": "SQLITE_TRANSACTION_BEGIN", 
                     "value": 1015
-                },
-                {
-                    "key": "DIRECTORY_OVER_FILE",
+                }, 
+                {
+                    "key": "DIRECTORY_OVER_FILE", 
                     "value": 2000
-                },
-                {
-                    "key": "FILE_STORAGE_CANNOT_WRITE",
+                }, 
+                {
+                    "key": "FILE_STORAGE_CANNOT_WRITE", 
                     "value": 2001
-                },
-                {
-                    "key": "DIRECTORY_EXPECTED",
+                }, 
+                {
+                    "key": "DIRECTORY_EXPECTED", 
                     "value": 2002
-                },
-                {
-                    "key": "HTTP_PORT_IN_USE",
+                }, 
+                {
+                    "key": "HTTP_PORT_IN_USE", 
                     "value": 2003
-                },
-                {
-                    "key": "DICOM_PORT_IN_USE",
+                }, 
+                {
+                    "key": "DICOM_PORT_IN_USE", 
                     "value": 2004
-                },
-                {
-                    "key": "BAD_HTTP_STATUS_IN_REST",
+                }, 
+                {
+                    "key": "BAD_HTTP_STATUS_IN_REST", 
                     "value": 2005
-                },
-                {
-                    "key": "REGULAR_FILE_EXPECTED",
+                }, 
+                {
+                    "key": "REGULAR_FILE_EXPECTED", 
                     "value": 2006
-                },
-                {
-                    "key": "PATH_TO_EXECUTABLE",
+                }, 
+                {
+                    "key": "PATH_TO_EXECUTABLE", 
                     "value": 2007
-                },
-                {
-                    "key": "MAKE_DIRECTORY",
+                }, 
+                {
+                    "key": "MAKE_DIRECTORY", 
                     "value": 2008
-                },
-                {
-                    "key": "BAD_APPLICATION_ENTITY_TITLE",
+                }, 
+                {
+                    "key": "BAD_APPLICATION_ENTITY_TITLE", 
                     "value": 2009
-                },
-                {
-                    "key": "NO_CFIND_HANDLER",
+                }, 
+                {
+                    "key": "NO_CFIND_HANDLER", 
                     "value": 2010
-                },
-                {
-                    "key": "NO_CMOVE_HANDLER",
+                }, 
+                {
+                    "key": "NO_CMOVE_HANDLER", 
                     "value": 2011
-                },
-                {
-                    "key": "NO_CSTORE_HANDLER",
+                }, 
+                {
+                    "key": "NO_CSTORE_HANDLER", 
                     "value": 2012
-                },
-                {
-                    "key": "NO_APPLICATION_ENTITY_FILTER",
+                }, 
+                {
+                    "key": "NO_APPLICATION_ENTITY_FILTER", 
                     "value": 2013
-                },
-                {
-                    "key": "NO_SOP_CLASS_OR_INSTANCE",
+                }, 
+                {
+                    "key": "NO_SOP_CLASS_OR_INSTANCE", 
                     "value": 2014
-                },
-                {
-                    "key": "NO_PRESENTATION_CONTEXT",
+                }, 
+                {
+                    "key": "NO_PRESENTATION_CONTEXT", 
                     "value": 2015
-                },
-                {
-                    "key": "DICOM_FIND_UNAVAILABLE",
+                }, 
+                {
+                    "key": "DICOM_FIND_UNAVAILABLE", 
                     "value": 2016
-                },
-                {
-                    "key": "DICOM_MOVE_UNAVAILABLE",
+                }, 
+                {
+                    "key": "DICOM_MOVE_UNAVAILABLE", 
                     "value": 2017
-                },
-                {
-                    "key": "CANNOT_STORE_INSTANCE",
+                }, 
+                {
+                    "key": "CANNOT_STORE_INSTANCE", 
                     "value": 2018
-                },
-                {
-                    "key": "CREATE_DICOM_NOT_STRING",
+                }, 
+                {
+                    "key": "CREATE_DICOM_NOT_STRING", 
                     "value": 2019
-                },
-                {
-                    "key": "CREATE_DICOM_OVERRIDE_TAG",
+                }, 
+                {
+                    "key": "CREATE_DICOM_OVERRIDE_TAG", 
                     "value": 2020
-                },
-                {
-                    "key": "CREATE_DICOM_USE_CONTENT",
+                }, 
+                {
+                    "key": "CREATE_DICOM_USE_CONTENT", 
                     "value": 2021
-                },
-                {
-                    "key": "CREATE_DICOM_NO_PAYLOAD",
+                }, 
+                {
+                    "key": "CREATE_DICOM_NO_PAYLOAD", 
                     "value": 2022
-                },
-                {
-                    "key": "CREATE_DICOM_USE_DATA_URI_SCHEME",
+                }, 
+                {
+                    "key": "CREATE_DICOM_USE_DATA_URI_SCHEME", 
                     "value": 2023
-                },
-                {
-                    "key": "CREATE_DICOM_BAD_PARENT",
+                }, 
+                {
+                    "key": "CREATE_DICOM_BAD_PARENT", 
                     "value": 2024
-                },
-                {
-                    "key": "CREATE_DICOM_PARENT_IS_INSTANCE",
+                }, 
+                {
+                    "key": "CREATE_DICOM_PARENT_IS_INSTANCE", 
                     "value": 2025
-                },
-                {
-                    "key": "CREATE_DICOM_PARENT_ENCODING",
+                }, 
+                {
+                    "key": "CREATE_DICOM_PARENT_ENCODING", 
                     "value": 2026
-                },
-                {
-                    "key": "UNKNOWN_MODALITY",
+                }, 
+                {
+                    "key": "UNKNOWN_MODALITY", 
                     "value": 2027
-                },
-                {
-                    "key": "BAD_JOB_ORDERING",
+                }, 
+                {
+                    "key": "BAD_JOB_ORDERING", 
                     "value": 2028
-                },
-                {
-                    "key": "JSON_TO_LUA_TABLE",
+                }, 
+                {
+                    "key": "JSON_TO_LUA_TABLE", 
                     "value": 2029
-                },
-                {
-                    "key": "CANNOT_CREATE_LUA",
+                }, 
+                {
+                    "key": "CANNOT_CREATE_LUA", 
                     "value": 2030
-                },
-                {
-                    "key": "CANNOT_EXECUTE_LUA",
+                }, 
+                {
+                    "key": "CANNOT_EXECUTE_LUA", 
                     "value": 2031
-                },
-                {
-                    "key": "LUA_ALREADY_EXECUTED",
+                }, 
+                {
+                    "key": "LUA_ALREADY_EXECUTED", 
                     "value": 2032
-                },
-                {
-                    "key": "LUA_BAD_OUTPUT",
+                }, 
+                {
+                    "key": "LUA_BAD_OUTPUT", 
                     "value": 2033
-                },
-                {
-                    "key": "NOT_LUA_PREDICATE",
+                }, 
+                {
+                    "key": "NOT_LUA_PREDICATE", 
                     "value": 2034
-                },
-                {
-                    "key": "LUA_RETURNS_NO_STRING",
+                }, 
+                {
+                    "key": "LUA_RETURNS_NO_STRING", 
                     "value": 2035
-                },
-                {
-                    "key": "STORAGE_AREA_ALREADY_REGISTERED",
+                }, 
+                {
+                    "key": "STORAGE_AREA_ALREADY_REGISTERED", 
                     "value": 2036
-                },
-                {
-                    "key": "DATABASE_BACKEND_ALREADY_REGISTERED",
+                }, 
+                {
+                    "key": "DATABASE_BACKEND_ALREADY_REGISTERED", 
                     "value": 2037
-                },
-                {
-                    "key": "DATABASE_NOT_INITIALIZED",
+                }, 
+                {
+                    "key": "DATABASE_NOT_INITIALIZED", 
                     "value": 2038
-                },
-                {
-                    "key": "SSL_DISABLED",
+                }, 
+                {
+                    "key": "SSL_DISABLED", 
                     "value": 2039
-                },
-                {
-                    "key": "CANNOT_ORDER_SLICES",
+                }, 
+                {
+                    "key": "CANNOT_ORDER_SLICES", 
                     "value": 2040
-                },
-                {
-                    "key": "NO_WORKLIST_HANDLER",
+                }, 
+                {
+                    "key": "NO_WORKLIST_HANDLER", 
                     "value": 2041
-                },
-                {
-                    "key": "ALREADY_EXISTING_TAG",
+                }, 
+                {
+                    "key": "ALREADY_EXISTING_TAG", 
                     "value": 2042
-                },
-                {
-                    "key": "NO_STORAGE_COMMITMENT_HANDLER",
+                }, 
+                {
+                    "key": "NO_STORAGE_COMMITMENT_HANDLER", 
                     "value": 2043
-                },
-                {
-                    "key": "NO_CGET_HANDLER",
+                }, 
+                {
+                    "key": "NO_CGET_HANDLER", 
                     "value": 2044
-                },
-                {
-                    "key": "UNSUPPORTED_MEDIA_TYPE",
+                }, 
+                {
+                    "key": "UNSUPPORTED_MEDIA_TYPE", 
                     "value": 3000
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginHttpMethod",
-            "path": "sdk_OrthancPluginHttpMethod.impl.h",
+            "name": "OrthancPluginHttpMethod", 
+            "path": "sdk_OrthancPluginHttpMethod.impl.h", 
             "values": [
                 {
-                    "key": "GET",
+                    "key": "GET", 
                     "value": 1
-                },
-                {
-                    "key": "POST",
+                }, 
+                {
+                    "key": "POST", 
                     "value": 2
-                },
-                {
-                    "key": "PUT",
+                }, 
+                {
+                    "key": "PUT", 
                     "value": 3
-                },
-                {
-                    "key": "DELETE",
+                }, 
+                {
+                    "key": "DELETE", 
                     "value": 4
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginIdentifierConstraint",
-            "path": "sdk_OrthancPluginIdentifierConstraint.impl.h",
+            "name": "OrthancPluginIdentifierConstraint", 
+            "path": "sdk_OrthancPluginIdentifierConstraint.impl.h", 
             "values": [
                 {
-                    "key": "EQUAL",
+                    "key": "EQUAL", 
                     "value": 1
-                },
-                {
-                    "key": "SMALLER_OR_EQUAL",
+                }, 
+                {
+                    "key": "SMALLER_OR_EQUAL", 
                     "value": 2
-                },
-                {
-                    "key": "GREATER_OR_EQUAL",
+                }, 
+                {
+                    "key": "GREATER_OR_EQUAL", 
                     "value": 3
-                },
-                {
-                    "key": "WILDCARD",
+                }, 
+                {
+                    "key": "WILDCARD", 
                     "value": 4
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginImageFormat",
-            "path": "sdk_OrthancPluginImageFormat.impl.h",
+            "name": "OrthancPluginImageFormat", 
+            "path": "sdk_OrthancPluginImageFormat.impl.h", 
             "values": [
                 {
-                    "key": "PNG",
+                    "key": "PNG", 
                     "value": 0
-                },
-                {
-                    "key": "JPEG",
+                }, 
+                {
+                    "key": "JPEG", 
                     "value": 1
-                },
-                {
-                    "key": "DICOM",
+                }, 
+                {
+                    "key": "DICOM", 
                     "value": 2
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginInstanceOrigin",
-            "path": "sdk_OrthancPluginInstanceOrigin.impl.h",
+            "name": "OrthancPluginInstanceOrigin", 
+            "path": "sdk_OrthancPluginInstanceOrigin.impl.h", 
             "values": [
                 {
-                    "key": "UNKNOWN",
+                    "key": "UNKNOWN", 
                     "value": 1
-                },
-                {
-                    "key": "DICOM_PROTOCOL",
+                }, 
+                {
+                    "key": "DICOM_PROTOCOL", 
                     "value": 2
-                },
-                {
-                    "key": "REST_API",
+                }, 
+                {
+                    "key": "REST_API", 
                     "value": 3
-                },
-                {
-                    "key": "PLUGIN",
+                }, 
+                {
+                    "key": "PLUGIN", 
                     "value": 4
-                },
-                {
-                    "key": "LUA",
+                }, 
+                {
+                    "key": "LUA", 
                     "value": 5
-                },
-                {
-                    "key": "WEB_DAV",
+                }, 
+                {
+                    "key": "WEB_DAV", 
                     "value": 6
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginJobStepStatus",
-            "path": "sdk_OrthancPluginJobStepStatus.impl.h",
+            "name": "OrthancPluginJobStepStatus", 
+            "path": "sdk_OrthancPluginJobStepStatus.impl.h", 
             "values": [
                 {
-                    "key": "SUCCESS",
+                    "key": "SUCCESS", 
                     "value": 1
-                },
-                {
-                    "key": "FAILURE",
+                }, 
+                {
+                    "key": "FAILURE", 
                     "value": 2
-                },
-                {
-                    "key": "CONTINUE",
+                }, 
+                {
+                    "key": "CONTINUE", 
                     "value": 3
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginJobStopReason",
-            "path": "sdk_OrthancPluginJobStopReason.impl.h",
+            "name": "OrthancPluginJobStopReason", 
+            "path": "sdk_OrthancPluginJobStopReason.impl.h", 
             "values": [
                 {
-                    "key": "SUCCESS",
+                    "key": "SUCCESS", 
                     "value": 1
-                },
-                {
-                    "key": "PAUSED",
+                }, 
+                {
+                    "key": "PAUSED", 
                     "value": 2
-                },
-                {
-                    "key": "FAILURE",
+                }, 
+                {
+                    "key": "FAILURE", 
                     "value": 3
-                },
-                {
-                    "key": "CANCELED",
+                }, 
+                {
+                    "key": "CANCELED", 
                     "value": 4
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginMetricsType",
-            "path": "sdk_OrthancPluginMetricsType.impl.h",
+            "name": "OrthancPluginMetricsType", 
+            "path": "sdk_OrthancPluginMetricsType.impl.h", 
             "values": [
                 {
-                    "key": "DEFAULT",
+                    "key": "DEFAULT", 
                     "value": 0
-                },
-                {
-                    "key": "TIMER",
+                }, 
+                {
+                    "key": "TIMER", 
                     "value": 1
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginPixelFormat",
-            "path": "sdk_OrthancPluginPixelFormat.impl.h",
+            "name": "OrthancPluginPixelFormat", 
+            "path": "sdk_OrthancPluginPixelFormat.impl.h", 
             "values": [
                 {
-                    "key": "GRAYSCALE8",
+                    "key": "GRAYSCALE8", 
                     "value": 1
-                },
-                {
-                    "key": "GRAYSCALE16",
+                }, 
+                {
+                    "key": "GRAYSCALE16", 
                     "value": 2
-                },
-                {
-                    "key": "SIGNED_GRAYSCALE16",
+                }, 
+                {
+                    "key": "SIGNED_GRAYSCALE16", 
                     "value": 3
-                },
-                {
-                    "key": "RGB24",
+                }, 
+                {
+                    "key": "RGB24", 
                     "value": 4
-                },
-                {
-                    "key": "RGBA32",
+                }, 
+                {
+                    "key": "RGBA32", 
                     "value": 5
-                },
-                {
-                    "key": "UNKNOWN",
+                }, 
+                {
+                    "key": "UNKNOWN", 
                     "value": 6
-                },
-                {
-                    "key": "RGB48",
+                }, 
+                {
+                    "key": "RGB48", 
                     "value": 7
-                },
-                {
-                    "key": "GRAYSCALE32",
+                }, 
+                {
+                    "key": "GRAYSCALE32", 
                     "value": 8
-                },
-                {
-                    "key": "FLOAT32",
+                }, 
+                {
+                    "key": "FLOAT32", 
                     "value": 9
-                },
-                {
-                    "key": "BGRA32",
+                }, 
+                {
+                    "key": "BGRA32", 
                     "value": 10
-                },
-                {
-                    "key": "GRAYSCALE64",
+                }, 
+                {
+                    "key": "GRAYSCALE64", 
                     "value": 11
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginReceivedInstanceAction",
-            "path": "sdk_OrthancPluginReceivedInstanceAction.impl.h",
+            "name": "OrthancPluginReceivedInstanceAction", 
+            "path": "sdk_OrthancPluginReceivedInstanceAction.impl.h", 
             "values": [
                 {
-                    "key": "KEEP_AS_IS",
+                    "key": "KEEP_AS_IS", 
                     "value": 1
-                },
-                {
-                    "key": "MODIFY",
+                }, 
+                {
+                    "key": "MODIFY", 
                     "value": 2
-                },
-                {
-                    "key": "DISCARD",
+                }, 
+                {
+                    "key": "DISCARD", 
                     "value": 3
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginResourceType",
-            "path": "sdk_OrthancPluginResourceType.impl.h",
+            "name": "OrthancPluginResourceType", 
+            "path": "sdk_OrthancPluginResourceType.impl.h", 
             "values": [
                 {
-                    "key": "PATIENT",
+                    "key": "PATIENT", 
                     "value": 0
-                },
-                {
-                    "key": "STUDY",
+                }, 
+                {
+                    "key": "STUDY", 
                     "value": 1
-                },
-                {
-                    "key": "SERIES",
+                }, 
+                {
+                    "key": "SERIES", 
                     "value": 2
-                },
-                {
-                    "key": "INSTANCE",
+                }, 
+                {
+                    "key": "INSTANCE", 
                     "value": 3
-                },
-                {
-                    "key": "NONE",
+                }, 
+                {
+                    "key": "NONE", 
                     "value": 4
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginStorageCommitmentFailureReason",
-            "path": "sdk_OrthancPluginStorageCommitmentFailureReason.impl.h",
+            "name": "OrthancPluginStorageCommitmentFailureReason", 
+            "path": "sdk_OrthancPluginStorageCommitmentFailureReason.impl.h", 
             "values": [
                 {
-                    "key": "SUCCESS",
+                    "key": "SUCCESS", 
                     "value": 0
-                },
-                {
-                    "key": "PROCESSING_FAILURE",
+                }, 
+                {
+                    "key": "PROCESSING_FAILURE", 
                     "value": 1
-                },
-                {
-                    "key": "NO_SUCH_OBJECT_INSTANCE",
+                }, 
+                {
+                    "key": "NO_SUCH_OBJECT_INSTANCE", 
                     "value": 2
-                },
-                {
-                    "key": "RESOURCE_LIMITATION",
+                }, 
+                {
+                    "key": "RESOURCE_LIMITATION", 
                     "value": 3
-                },
-                {
-                    "key": "REFERENCED_SOPCLASS_NOT_SUPPORTED",
+                }, 
+                {
+                    "key": "REFERENCED_SOPCLASS_NOT_SUPPORTED", 
                     "value": 4
-                },
-                {
-                    "key": "CLASS_INSTANCE_CONFLICT",
+                }, 
+                {
+                    "key": "CLASS_INSTANCE_CONFLICT", 
                     "value": 5
-                },
-                {
-                    "key": "DUPLICATE_TRANSACTION_UID",
+                }, 
+                {
+                    "key": "DUPLICATE_TRANSACTION_UID", 
                     "value": 6
                 }
             ]
-        },
+        }, 
         {
-            "name": "OrthancPluginValueRepresentation",
-            "path": "sdk_OrthancPluginValueRepresentation.impl.h",
+            "name": "OrthancPluginValueRepresentation", 
+            "path": "sdk_OrthancPluginValueRepresentation.impl.h", 
             "values": [
                 {
-                    "key": "AE",
+                    "key": "AE", 
                     "value": 1
-                },
-                {
-                    "key": "AS",
+                }, 
+                {
+                    "key": "AS", 
                     "value": 2
-                },
-                {
-                    "key": "AT",
+                }, 
+                {
+                    "key": "AT", 
                     "value": 3
-                },
-                {
-                    "key": "CS",
+                }, 
+                {
+                    "key": "CS", 
                     "value": 4
-                },
-                {
-                    "key": "DA",
+                }, 
+                {
+                    "key": "DA", 
                     "value": 5
-                },
-                {
-                    "key": "DS",
+                }, 
+                {
+                    "key": "DS", 
                     "value": 6
-                },
-                {
-                    "key": "DT",
+                }, 
+                {
+                    "key": "DT", 
                     "value": 7
-                },
-                {
-                    "key": "FD",
+                }, 
+                {
+                    "key": "FD", 
                     "value": 8
-                },
-                {
-                    "key": "FL",
+                }, 
+                {
+                    "key": "FL", 
                     "value": 9
-                },
-                {
-                    "key": "IS",
+                }, 
+                {
+                    "key": "IS", 
                     "value": 10
-                },
-                {
-                    "key": "LO",
+                }, 
+                {
+                    "key": "LO", 
                     "value": 11
-                },
-                {
-                    "key": "LT",
+                }, 
+                {
+                    "key": "LT", 
                     "value": 12
-                },
-                {
-                    "key": "OB",
+                }, 
+                {
+                    "key": "OB", 
                     "value": 13
-                },
-                {
-                    "key": "OF",
+                }, 
+                {
+                    "key": "OF", 
                     "value": 14
-                },
-                {
-                    "key": "OW",
+                }, 
+                {
+                    "key": "OW", 
                     "value": 15
-                },
-                {
-                    "key": "PN",
+                }, 
+                {
+                    "key": "PN", 
                     "value": 16
-                },
-                {
-                    "key": "SH",
+                }, 
+                {
+                    "key": "SH", 
                     "value": 17
-                },
-                {
-                    "key": "SL",
+                }, 
+                {
+                    "key": "SL", 
                     "value": 18
-                },
-                {
-                    "key": "SQ",
+                }, 
+                {
+                    "key": "SQ", 
                     "value": 19
-                },
-                {
-                    "key": "SS",
+                }, 
+                {
+                    "key": "SS", 
                     "value": 20
-                },
-                {
-                    "key": "ST",
+                }, 
+                {
+                    "key": "ST", 
                     "value": 21
-                },
-                {
-                    "key": "TM",
+                }, 
+                {
+                    "key": "TM", 
                     "value": 22
-                },
-                {
-                    "key": "UI",
+                }, 
+                {
+                    "key": "UI", 
                     "value": 23
-                },
-                {
-                    "key": "UL",
+                }, 
+                {
+                    "key": "UL", 
                     "value": 24
-                },
-                {
-                    "key": "UN",
+                }, 
+                {
+                    "key": "UN", 
                     "value": 25
-                },
-                {
-                    "key": "US",
+                }, 
+                {
+                    "key": "US", 
                     "value": 26
-                },
-                {
-                    "key": "UT",
+                }, 
+                {
+                    "key": "UT", 
                     "value": 27
                 }
             ]
         }
-    ],
+    ], 
     "global_functions": [
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_name": "expectedMajor",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_name": "expectedMajor", 
                     "sdk_type": "int32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_name": "expectedMinor",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_name": "expectedMinor", 
                     "sdk_type": "int32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_name": "expectedRevision",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_name": "expectedRevision", 
                     "sdk_type": "int32_t"
                 }
-            ],
-            "c_function": "OrthancPluginCheckVersionAdvanced",
-            "call_args": ", arg0, arg1, arg2",
-            "count_args": 3,
-            "has_args": true,
-            "return_long": true,
-            "return_sdk_type": "int32_t",
-            "short_name": "CheckVersionAdvanced",
+            ], 
+            "c_function": "OrthancPluginCheckVersionAdvanced", 
+            "call_args": ", arg0, arg1, arg2", 
+            "count_args": 3, 
+            "has_args": true, 
+            "return_long": true, 
+            "return_sdk_type": "int32_t", 
+            "short_name": "CheckVersionAdvanced", 
             "tuple_format": "\"lll\", &arg0, &arg1, &arg2"
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginCheckVersion",
-            "return_long": true,
-            "return_sdk_type": "int32_t",
-            "short_name": "CheckVersion",
+            "args": [], 
+            "c_function": "OrthancPluginCheckVersion", 
+            "return_long": true, 
+            "return_sdk_type": "int32_t", 
+            "short_name": "CheckVersion", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "message",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "message", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginLogError",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "void",
-            "return_void": true,
-            "short_name": "LogError",
+            ], 
+            "c_function": "OrthancPluginLogError", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "void", 
+            "return_void": true, 
+            "short_name": "LogError", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "message",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "message", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginLogWarning",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "void",
-            "return_void": true,
-            "short_name": "LogWarning",
+            ], 
+            "c_function": "OrthancPluginLogWarning", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "void", 
+            "return_void": true, 
+            "short_name": "LogWarning", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "message",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "message", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginLogInfo",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "void",
-            "return_void": true,
-            "short_name": "LogInfo",
+            ], 
+            "c_function": "OrthancPluginLogInfo", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "void", 
+            "return_void": true, 
+            "short_name": "LogInfo", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "instanceId",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "instanceId", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginGetDicomForInstance",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "GetDicomForInstance",
+            ], 
+            "c_function": "OrthancPluginGetDicomForInstance", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "GetDicomForInstance", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginRestApiGet",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "RestApiGet",
+            ], 
+            "c_function": "OrthancPluginRestApiGet", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "RestApiGet", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginRestApiGetAfterPlugins",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "RestApiGetAfterPlugins",
+            ], 
+            "c_function": "OrthancPluginRestApiGetAfterPlugins", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "RestApiGetAfterPlugins", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "name": "arg1",
-                    "orthanc_cast": "arg1.buf, arg1.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg1);",
-                    "sdk_name": "body",
+                }, 
+                {
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1.buf, arg1.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg1);", 
+                    "sdk_name": "body", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginRestApiPost",
-            "call_args": ", arg0, arg1.buf, arg1.len",
-            "count_args": 2,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "RestApiPost",
+            ], 
+            "c_function": "OrthancPluginRestApiPost", 
+            "call_args": ", arg0, arg1.buf, arg1.len", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "RestApiPost", 
             "tuple_format": "\"ss*\", &arg0, &arg1"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "name": "arg1",
-                    "orthanc_cast": "arg1.buf, arg1.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg1);",
-                    "sdk_name": "body",
+                }, 
+                {
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1.buf, arg1.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg1);", 
+                    "sdk_name": "body", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginRestApiPostAfterPlugins",
-            "call_args": ", arg0, arg1.buf, arg1.len",
-            "count_args": 2,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "RestApiPostAfterPlugins",
+            ], 
+            "c_function": "OrthancPluginRestApiPostAfterPlugins", 
+            "call_args": ", arg0, arg1.buf, arg1.len", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "RestApiPostAfterPlugins", 
             "tuple_format": "\"ss*\", &arg0, &arg1"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginRestApiDelete",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_error": true,
-            "return_sdk_enumeration": "OrthancPluginErrorCode",
-            "return_sdk_type": "enumeration",
-            "short_name": "RestApiDelete",
+            ], 
+            "c_function": "OrthancPluginRestApiDelete", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_error": true, 
+            "return_sdk_enumeration": "OrthancPluginErrorCode", 
+            "return_sdk_type": "enumeration", 
+            "short_name": "RestApiDelete", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginRestApiDeleteAfterPlugins",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_error": true,
-            "return_sdk_enumeration": "OrthancPluginErrorCode",
-            "return_sdk_type": "enumeration",
-            "short_name": "RestApiDeleteAfterPlugins",
+            ], 
+            "c_function": "OrthancPluginRestApiDeleteAfterPlugins", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_error": true, 
+            "return_sdk_enumeration": "OrthancPluginErrorCode", 
+            "return_sdk_type": "enumeration", 
+            "short_name": "RestApiDeleteAfterPlugins", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "name": "arg1",
-                    "orthanc_cast": "arg1.buf, arg1.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg1);",
-                    "sdk_name": "body",
+                }, 
+                {
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1.buf, arg1.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg1);", 
+                    "sdk_name": "body", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginRestApiPut",
-            "call_args": ", arg0, arg1.buf, arg1.len",
-            "count_args": 2,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "RestApiPut",
+            ], 
+            "c_function": "OrthancPluginRestApiPut", 
+            "call_args": ", arg0, arg1.buf, arg1.len", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "RestApiPut", 
             "tuple_format": "\"ss*\", &arg0, &arg1"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "name": "arg1",
-                    "orthanc_cast": "arg1.buf, arg1.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg1);",
-                    "sdk_name": "body",
+                }, 
+                {
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1.buf, arg1.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg1);", 
+                    "sdk_name": "body", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginRestApiPutAfterPlugins",
-            "call_args": ", arg0, arg1.buf, arg1.len",
-            "count_args": 2,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "RestApiPutAfterPlugins",
+            ], 
+            "c_function": "OrthancPluginRestApiPutAfterPlugins", 
+            "call_args": ", arg0, arg1.buf, arg1.len", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "RestApiPutAfterPlugins", 
             "tuple_format": "\"ss*\", &arg0, &arg1"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "patientID",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "patientID", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginLookupPatient",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "LookupPatient",
+            ], 
+            "c_function": "OrthancPluginLookupPatient", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "LookupPatient", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "studyUID",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "studyUID", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginLookupStudy",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "LookupStudy",
+            ], 
+            "c_function": "OrthancPluginLookupStudy", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "LookupStudy", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "accessionNumber",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "accessionNumber", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginLookupStudyWithAccessionNumber",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "LookupStudyWithAccessionNumber",
+            ], 
+            "c_function": "OrthancPluginLookupStudyWithAccessionNumber", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "LookupStudyWithAccessionNumber", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "seriesUID",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "seriesUID", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginLookupSeries",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "LookupSeries",
+            ], 
+            "c_function": "OrthancPluginLookupSeries", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "LookupSeries", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "sopInstanceUID",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "sopInstanceUID", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginLookupInstance",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "LookupInstance",
+            ], 
+            "c_function": "OrthancPluginLookupInstance", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "LookupInstance", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGetOrthancPath",
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GetOrthancPath",
+            "args": [], 
+            "c_function": "OrthancPluginGetOrthancPath", 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GetOrthancPath", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGetOrthancDirectory",
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GetOrthancDirectory",
+            "args": [], 
+            "c_function": "OrthancPluginGetOrthancDirectory", 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GetOrthancDirectory", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGetConfigurationPath",
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GetConfigurationPath",
+            "args": [], 
+            "c_function": "OrthancPluginGetConfigurationPath", 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GetConfigurationPath", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "uri",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "uri", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginSetRootUri",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "void",
-            "return_void": true,
-            "short_name": "SetRootUri",
+            ], 
+            "c_function": "OrthancPluginSetRootUri", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "void", 
+            "return_void": true, 
+            "short_name": "SetRootUri", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "description",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "description", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginSetDescription",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "void",
-            "return_void": true,
-            "short_name": "SetDescription",
+            ], 
+            "c_function": "OrthancPluginSetDescription", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "void", 
+            "return_void": true, 
+            "short_name": "SetDescription", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "javascript",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "javascript", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginExtendOrthancExplorer",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "void",
-            "return_void": true,
-            "short_name": "ExtendOrthancExplorer",
+            ], 
+            "c_function": "OrthancPluginExtendOrthancExplorer", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "void", 
+            "return_void": true, 
+            "short_name": "ExtendOrthancExplorer", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_name": "property",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_name": "property", 
                     "sdk_type": "int32_t"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "defaultValue",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "defaultValue", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginGetGlobalProperty",
-            "call_args": ", arg0, arg1",
-            "count_args": 2,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GetGlobalProperty",
+            ], 
+            "c_function": "OrthancPluginGetGlobalProperty", 
+            "call_args": ", arg0, arg1", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GetGlobalProperty", 
             "tuple_format": "\"ls\", &arg0, &arg1"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_name": "property",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_name": "property", 
                     "sdk_type": "int32_t"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "value",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "value", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginSetGlobalProperty",
-            "call_args": ", arg0, arg1",
-            "count_args": 2,
-            "has_args": true,
-            "return_error": true,
-            "return_sdk_enumeration": "OrthancPluginErrorCode",
-            "return_sdk_type": "enumeration",
-            "short_name": "SetGlobalProperty",
+            ], 
+            "c_function": "OrthancPluginSetGlobalProperty", 
+            "call_args": ", arg0, arg1", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_error": true, 
+            "return_sdk_enumeration": "OrthancPluginErrorCode", 
+            "return_sdk_type": "enumeration", 
+            "short_name": "SetGlobalProperty", 
             "tuple_format": "\"ls\", &arg0, &arg1"
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGetCommandLineArgumentsCount",
-            "return_long": true,
-            "return_sdk_type": "uint32_t",
-            "short_name": "GetCommandLineArgumentsCount",
+            "args": [], 
+            "c_function": "OrthancPluginGetCommandLineArgumentsCount", 
+            "return_long": true, 
+            "return_sdk_type": "uint32_t", 
+            "short_name": "GetCommandLineArgumentsCount", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "argument",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "argument", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginGetCommandLineArgument",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GetCommandLineArgument",
+            ], 
+            "c_function": "OrthancPluginGetCommandLineArgument", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GetCommandLineArgument", 
             "tuple_format": "\"k\", &arg0"
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGetExpectedDatabaseVersion",
-            "return_long": true,
-            "return_sdk_type": "uint32_t",
-            "short_name": "GetExpectedDatabaseVersion",
+            "args": [], 
+            "c_function": "OrthancPluginGetExpectedDatabaseVersion", 
+            "return_long": true, 
+            "return_sdk_type": "uint32_t", 
+            "short_name": "GetExpectedDatabaseVersion", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGetConfiguration",
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GetConfiguration",
+            "args": [], 
+            "c_function": "OrthancPluginGetConfiguration", 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GetConfiguration", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "source",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "source", 
                     "sdk_type": "const_void_pointer_with_size"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "static_cast<OrthancPluginCompressionType>(arg2)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginCompressionType",
-                    "sdk_name": "compression",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "static_cast<OrthancPluginCompressionType>(arg2)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginCompressionType", 
+                    "sdk_name": "compression", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg3",
-                    "orthanc_cast": "arg3",
-                    "python_format": "b",
-                    "python_type": "unsigned char",
-                    "sdk_name": "uncompress",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg3", 
+                    "orthanc_cast": "arg3", 
+                    "python_format": "b", 
+                    "python_type": "unsigned char", 
+                    "sdk_name": "uncompress", 
                     "sdk_type": "uint8_t"
                 }
-            ],
-            "c_function": "OrthancPluginBufferCompression",
-            "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginCompressionType>(arg2), arg3",
-            "count_args": 3,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "BufferCompression",
+            ], 
+            "c_function": "OrthancPluginBufferCompression", 
+            "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginCompressionType>(arg2), arg3", 
+            "count_args": 3, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "BufferCompression", 
             "tuple_format": "\"s*lb\", &arg0, &arg2, &arg3"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "path",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "path", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginReadFile",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "ReadFile",
+            ], 
+            "c_function": "OrthancPluginReadFile", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "ReadFile", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "path",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "path", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "name": "arg1",
-                    "orthanc_cast": "arg1.buf, arg1.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg1);",
-                    "sdk_name": "data",
+                }, 
+                {
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1.buf, arg1.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg1);", 
+                    "sdk_name": "data", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginWriteFile",
-            "call_args": ", arg0, arg1.buf, arg1.len",
-            "count_args": 2,
-            "has_args": true,
-            "return_error": true,
-            "return_sdk_enumeration": "OrthancPluginErrorCode",
-            "return_sdk_type": "enumeration",
-            "short_name": "WriteFile",
+            ], 
+            "c_function": "OrthancPluginWriteFile", 
+            "call_args": ", arg0, arg1.buf, arg1.len", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_error": true, 
+            "return_sdk_enumeration": "OrthancPluginErrorCode", 
+            "return_sdk_type": "enumeration", 
+            "short_name": "WriteFile", 
             "tuple_format": "\"ss*\", &arg0, &arg1"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "static_cast<OrthancPluginErrorCode>(arg0)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginErrorCode",
-                    "sdk_name": "error",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "static_cast<OrthancPluginErrorCode>(arg0)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginErrorCode", 
+                    "sdk_name": "error", 
                     "sdk_type": "enumeration"
                 }
-            ],
-            "c_function": "OrthancPluginGetErrorDescription",
-            "call_args": ", static_cast<OrthancPluginErrorCode>(arg0)",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "const char *",
-            "return_static_string": true,
-            "short_name": "GetErrorDescription",
+            ], 
+            "c_function": "OrthancPluginGetErrorDescription", 
+            "call_args": ", static_cast<OrthancPluginErrorCode>(arg0)", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "const char *", 
+            "return_static_string": true, 
+            "short_name": "GetErrorDescription", 
             "tuple_format": "\"l\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "data",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "data", 
                     "sdk_type": "const_void_pointer_with_size"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "static_cast<OrthancPluginImageFormat>(arg2)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginImageFormat",
-                    "sdk_name": "format",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "static_cast<OrthancPluginImageFormat>(arg2)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginImageFormat", 
+                    "sdk_name": "format", 
                     "sdk_type": "enumeration"
                 }
-            ],
-            "c_function": "OrthancPluginUncompressImage",
-            "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginImageFormat>(arg2)",
-            "count_args": 2,
-            "has_args": true,
-            "return_object": "OrthancPluginImage",
-            "return_sdk_class": "OrthancPluginImage",
-            "return_sdk_type": "object",
-            "short_name": "UncompressImage",
+            ], 
+            "c_function": "OrthancPluginUncompressImage", 
+            "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginImageFormat>(arg2)", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_object": "OrthancPluginImage", 
+            "return_sdk_class": "OrthancPluginImage", 
+            "return_sdk_type": "object", 
+            "short_name": "UncompressImage", 
             "tuple_format": "\"s*l\", &arg0, &arg2"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginPixelFormat",
-                    "sdk_name": "format",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginPixelFormat", 
+                    "sdk_name": "format", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "width",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "width", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "height",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "height", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg3",
-                    "orthanc_cast": "arg3",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "pitch",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg3", 
+                    "orthanc_cast": "arg3", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "pitch", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "name": "arg4",
-                    "orthanc_cast": "arg4.buf",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg4);",
-                    "sdk_name": "buffer",
+                }, 
+                {
+                    "name": "arg4", 
+                    "orthanc_cast": "arg4.buf", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg4);", 
+                    "sdk_name": "buffer", 
                     "sdk_type": "const void *"
                 }
-            ],
-            "c_function": "OrthancPluginCompressPngImage",
-            "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf",
-            "count_args": 5,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "CompressPngImage",
+            ], 
+            "c_function": "OrthancPluginCompressPngImage", 
+            "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf", 
+            "count_args": 5, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "CompressPngImage", 
             "tuple_format": "\"lkkks*\", &arg0, &arg1, &arg2, &arg3, &arg4"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginPixelFormat",
-                    "sdk_name": "format",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginPixelFormat", 
+                    "sdk_name": "format", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "width",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "width", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "height",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "height", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg3",
-                    "orthanc_cast": "arg3",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "pitch",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg3", 
+                    "orthanc_cast": "arg3", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "pitch", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "name": "arg4",
-                    "orthanc_cast": "arg4.buf",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg4);",
-                    "sdk_name": "buffer",
+                }, 
+                {
+                    "name": "arg4", 
+                    "orthanc_cast": "arg4.buf", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg4);", 
+                    "sdk_name": "buffer", 
                     "sdk_type": "const void *"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg5",
-                    "orthanc_cast": "arg5",
-                    "python_format": "b",
-                    "python_type": "unsigned char",
-                    "sdk_name": "quality",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg5", 
+                    "orthanc_cast": "arg5", 
+                    "python_format": "b", 
+                    "python_type": "unsigned char", 
+                    "sdk_name": "quality", 
                     "sdk_type": "uint8_t"
                 }
-            ],
-            "c_function": "OrthancPluginCompressJpegImage",
-            "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5",
-            "count_args": 6,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "CompressJpegImage",
+            ], 
+            "c_function": "OrthancPluginCompressJpegImage", 
+            "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2, arg3, arg4.buf, arg5", 
+            "count_args": 6, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "CompressJpegImage", 
             "tuple_format": "\"lkkks*b\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "url",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "url", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "username",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "username", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "password",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "password", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginHttpGet",
-            "call_args": ", arg0, arg1, arg2",
-            "count_args": 3,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "HttpGet",
+            ], 
+            "c_function": "OrthancPluginHttpGet", 
+            "call_args": ", arg0, arg1, arg2", 
+            "count_args": 3, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "HttpGet", 
             "tuple_format": "\"sss\", &arg0, &arg1, &arg2"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "url",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "url", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "name": "arg1",
-                    "orthanc_cast": "arg1.buf, arg1.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg1);",
-                    "sdk_name": "body",
+                }, 
+                {
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1.buf, arg1.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg1);", 
+                    "sdk_name": "body", 
                     "sdk_type": "const_void_pointer_with_size"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg3",
-                    "orthanc_cast": "arg3",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "username",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg3", 
+                    "orthanc_cast": "arg3", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "username", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg4",
-                    "orthanc_cast": "arg4",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "password",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg4", 
+                    "orthanc_cast": "arg4", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "password", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginHttpPost",
-            "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4",
-            "count_args": 4,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "HttpPost",
+            ], 
+            "c_function": "OrthancPluginHttpPost", 
+            "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", 
+            "count_args": 4, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "HttpPost", 
             "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "url",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "url", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "name": "arg1",
-                    "orthanc_cast": "arg1.buf, arg1.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg1);",
-                    "sdk_name": "body",
+                }, 
+                {
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1.buf, arg1.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg1);", 
+                    "sdk_name": "body", 
                     "sdk_type": "const_void_pointer_with_size"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg3",
-                    "orthanc_cast": "arg3",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "username",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg3", 
+                    "orthanc_cast": "arg3", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "username", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg4",
-                    "orthanc_cast": "arg4",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "password",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg4", 
+                    "orthanc_cast": "arg4", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "password", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginHttpPut",
-            "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4",
-            "count_args": 4,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "HttpPut",
+            ], 
+            "c_function": "OrthancPluginHttpPut", 
+            "call_args": ", arg0, arg1.buf, arg1.len, arg3, arg4", 
+            "count_args": 4, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "HttpPut", 
             "tuple_format": "\"ss*ss\", &arg0, &arg1, &arg3, &arg4"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "url",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "url", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "username",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "username", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "password",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "password", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginHttpDelete",
-            "call_args": ", arg0, arg1, arg2",
-            "count_args": 3,
-            "has_args": true,
-            "return_error": true,
-            "return_sdk_enumeration": "OrthancPluginErrorCode",
-            "return_sdk_type": "enumeration",
-            "short_name": "HttpDelete",
+            ], 
+            "c_function": "OrthancPluginHttpDelete", 
+            "call_args": ", arg0, arg1, arg2", 
+            "count_args": 3, 
+            "has_args": true, 
+            "return_error": true, 
+            "return_sdk_enumeration": "OrthancPluginErrorCode", 
+            "return_sdk_type": "enumeration", 
+            "short_name": "HttpDelete", 
             "tuple_format": "\"sss\", &arg0, &arg1, &arg2"
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGetFontsCount",
-            "return_long": true,
-            "return_sdk_type": "uint32_t",
-            "short_name": "GetFontsCount",
+            "args": [], 
+            "c_function": "OrthancPluginGetFontsCount", 
+            "return_long": true, 
+            "return_sdk_type": "uint32_t", 
+            "short_name": "GetFontsCount", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "fontIndex",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "fontIndex", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginGetFontName",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "const char *",
-            "return_static_string": true,
-            "short_name": "GetFontName",
+            ], 
+            "c_function": "OrthancPluginGetFontName", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "const char *", 
+            "return_static_string": true, 
+            "short_name": "GetFontName", 
             "tuple_format": "\"k\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "fontIndex",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "fontIndex", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginGetFontSize",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_long": true,
-            "return_sdk_type": "uint32_t",
-            "short_name": "GetFontSize",
+            ], 
+            "c_function": "OrthancPluginGetFontSize", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_long": true, 
+            "return_sdk_type": "uint32_t", 
+            "short_name": "GetFontSize", 
             "tuple_format": "\"k\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_name": "code",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_name": "code", 
                     "sdk_type": "int32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "H",
-                    "python_type": "unsigned short",
-                    "sdk_name": "httpStatus",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "H", 
+                    "python_type": "unsigned short", 
+                    "sdk_name": "httpStatus", 
                     "sdk_type": "uint16_t"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "message",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "message", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginRegisterErrorCode",
-            "call_args": ", arg0, arg1, arg2",
-            "count_args": 3,
-            "has_args": true,
-            "return_error": true,
-            "return_sdk_enumeration": "OrthancPluginErrorCode",
-            "return_sdk_type": "enumeration",
-            "short_name": "RegisterErrorCode",
+            ], 
+            "c_function": "OrthancPluginRegisterErrorCode", 
+            "call_args": ", arg0, arg1, arg2", 
+            "count_args": 3, 
+            "has_args": true, 
+            "return_error": true, 
+            "return_sdk_enumeration": "OrthancPluginErrorCode", 
+            "return_sdk_type": "enumeration", 
+            "short_name": "RegisterErrorCode", 
             "tuple_format": "\"lHs\", &arg0, &arg1, &arg2"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "H",
-                    "python_type": "unsigned short",
-                    "sdk_name": "group",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "H", 
+                    "python_type": "unsigned short", 
+                    "sdk_name": "group", 
                     "sdk_type": "uint16_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "H",
-                    "python_type": "unsigned short",
-                    "sdk_name": "element",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "H", 
+                    "python_type": "unsigned short", 
+                    "sdk_name": "element", 
                     "sdk_type": "uint16_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginValueRepresentation",
-                    "sdk_name": "vr",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginValueRepresentation", 
+                    "sdk_name": "vr", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg3",
-                    "orthanc_cast": "arg3",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "name",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg3", 
+                    "orthanc_cast": "arg3", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "name", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg4",
-                    "orthanc_cast": "arg4",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "minMultiplicity",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg4", 
+                    "orthanc_cast": "arg4", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "minMultiplicity", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg5",
-                    "orthanc_cast": "arg5",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "maxMultiplicity",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg5", 
+                    "orthanc_cast": "arg5", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "maxMultiplicity", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginRegisterDictionaryTag",
-            "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5",
-            "count_args": 6,
-            "has_args": true,
-            "return_error": true,
-            "return_sdk_enumeration": "OrthancPluginErrorCode",
-            "return_sdk_type": "enumeration",
-            "short_name": "RegisterDictionaryTag",
+            ], 
+            "c_function": "OrthancPluginRegisterDictionaryTag", 
+            "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5", 
+            "count_args": 6, 
+            "has_args": true, 
+            "return_error": true, 
+            "return_sdk_enumeration": "OrthancPluginErrorCode", 
+            "return_sdk_type": "enumeration", 
+            "short_name": "RegisterDictionaryTag", 
             "tuple_format": "\"HHlskk\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "H",
-                    "python_type": "unsigned short",
-                    "sdk_name": "group",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "H", 
+                    "python_type": "unsigned short", 
+                    "sdk_name": "group", 
                     "sdk_type": "uint16_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "H",
-                    "python_type": "unsigned short",
-                    "sdk_name": "element",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "H", 
+                    "python_type": "unsigned short", 
+                    "sdk_name": "element", 
                     "sdk_type": "uint16_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginValueRepresentation",
-                    "sdk_name": "vr",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "static_cast<OrthancPluginValueRepresentation>(arg2)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginValueRepresentation", 
+                    "sdk_name": "vr", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg3",
-                    "orthanc_cast": "arg3",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "name",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg3", 
+                    "orthanc_cast": "arg3", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "name", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg4",
-                    "orthanc_cast": "arg4",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "minMultiplicity",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg4", 
+                    "orthanc_cast": "arg4", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "minMultiplicity", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg5",
-                    "orthanc_cast": "arg5",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "maxMultiplicity",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg5", 
+                    "orthanc_cast": "arg5", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "maxMultiplicity", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg6",
-                    "orthanc_cast": "arg6",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "privateCreator",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg6", 
+                    "orthanc_cast": "arg6", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "privateCreator", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginRegisterPrivateDictionaryTag",
-            "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5, arg6",
-            "count_args": 7,
-            "has_args": true,
-            "return_error": true,
-            "return_sdk_enumeration": "OrthancPluginErrorCode",
-            "return_sdk_type": "enumeration",
-            "short_name": "RegisterPrivateDictionaryTag",
+            ], 
+            "c_function": "OrthancPluginRegisterPrivateDictionaryTag", 
+            "call_args": ", arg0, arg1, static_cast<OrthancPluginValueRepresentation>(arg2), arg3, arg4, arg5, arg6", 
+            "count_args": 7, 
+            "has_args": true, 
+            "return_error": true, 
+            "return_sdk_enumeration": "OrthancPluginErrorCode", 
+            "return_sdk_type": "enumeration", 
+            "short_name": "RegisterPrivateDictionaryTag", 
             "tuple_format": "\"HHlskks\", &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, &arg6"
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "buffer",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "buffer", 
                     "sdk_type": "const_void_pointer_with_size"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg2)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginDicomToJsonFormat",
-                    "sdk_name": "format",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg2)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginDicomToJsonFormat", 
+                    "sdk_name": "format", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg3",
-                    "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg3)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginDicomToJsonFlags",
-                    "sdk_name": "flags",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg3", 
+                    "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg3)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginDicomToJsonFlags", 
+                    "sdk_name": "flags", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg4",
-                    "orthanc_cast": "arg4",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "maxStringLength",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg4", 
+                    "orthanc_cast": "arg4", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "maxStringLength", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginDicomBufferToJson",
-            "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginDicomToJsonFormat>(arg2), static_cast<OrthancPluginDicomToJsonFlags>(arg3), arg4",
-            "count_args": 4,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "DicomBufferToJson",
+            ], 
+            "c_function": "OrthancPluginDicomBufferToJson", 
+            "call_args": ", arg0.buf, arg0.len, static_cast<OrthancPluginDicomToJsonFormat>(arg2), static_cast<OrthancPluginDicomToJsonFlags>(arg3), arg4", 
+            "count_args": 4, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "DicomBufferToJson", 
             "tuple_format": "\"s*llk\", &arg0, &arg2, &arg3, &arg4"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "instanceId",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "instanceId", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg1)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginDicomToJsonFormat",
-                    "sdk_name": "format",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFormat>(arg1)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginDicomToJsonFormat", 
+                    "sdk_name": "format", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg2)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginDicomToJsonFlags",
-                    "sdk_name": "flags",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "static_cast<OrthancPluginDicomToJsonFlags>(arg2)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginDicomToJsonFlags", 
+                    "sdk_name": "flags", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg3",
-                    "orthanc_cast": "arg3",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "maxStringLength",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg3", 
+                    "orthanc_cast": "arg3", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "maxStringLength", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginDicomInstanceToJson",
-            "call_args": ", arg0, static_cast<OrthancPluginDicomToJsonFormat>(arg1), static_cast<OrthancPluginDicomToJsonFlags>(arg2), arg3",
-            "count_args": 4,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "DicomInstanceToJson",
+            ], 
+            "c_function": "OrthancPluginDicomInstanceToJson", 
+            "call_args": ", arg0, static_cast<OrthancPluginDicomToJsonFormat>(arg1), static_cast<OrthancPluginDicomToJsonFlags>(arg2), arg3", 
+            "count_args": 4, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "DicomInstanceToJson", 
             "tuple_format": "\"sllk\", &arg0, &arg1, &arg2, &arg3"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginPixelFormat",
-                    "sdk_name": "format",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "static_cast<OrthancPluginPixelFormat>(arg0)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginPixelFormat", 
+                    "sdk_name": "format", 
                     "sdk_type": "enumeration"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "width",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "width", 
                     "sdk_type": "uint32_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "height",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "height", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginCreateImage",
-            "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2",
-            "count_args": 3,
-            "has_args": true,
-            "return_object": "OrthancPluginImage",
-            "return_sdk_class": "OrthancPluginImage",
-            "return_sdk_type": "object",
-            "short_name": "CreateImage",
+            ], 
+            "c_function": "OrthancPluginCreateImage", 
+            "call_args": ", static_cast<OrthancPluginPixelFormat>(arg0), arg1, arg2", 
+            "count_args": 3, 
+            "has_args": true, 
+            "return_object": "OrthancPluginImage", 
+            "return_sdk_class": "OrthancPluginImage", 
+            "return_sdk_type": "object", 
+            "short_name": "CreateImage", 
             "tuple_format": "\"lkk\", &arg0, &arg1, &arg2"
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "buffer",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "buffer", 
                     "sdk_type": "const_void_pointer_with_size"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "frameIndex",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "frameIndex", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginDecodeDicomImage",
-            "call_args": ", arg0.buf, arg0.len, arg2",
-            "count_args": 2,
-            "has_args": true,
-            "return_object": "OrthancPluginImage",
-            "return_sdk_class": "OrthancPluginImage",
-            "return_sdk_type": "object",
-            "short_name": "DecodeDicomImage",
+            ], 
+            "c_function": "OrthancPluginDecodeDicomImage", 
+            "call_args": ", arg0.buf, arg0.len, arg2", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_object": "OrthancPluginImage", 
+            "return_sdk_class": "OrthancPluginImage", 
+            "return_sdk_type": "object", 
+            "short_name": "DecodeDicomImage", 
             "tuple_format": "\"s*k\", &arg0, &arg2"
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "buffer",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "buffer", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginComputeMd5",
-            "call_args": ", arg0.buf, arg0.len",
-            "count_args": 1,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "ComputeMd5",
+            ], 
+            "c_function": "OrthancPluginComputeMd5", 
+            "call_args": ", arg0.buf, arg0.len", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "ComputeMd5", 
             "tuple_format": "\"s*\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "buffer",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "buffer", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginComputeSha1",
-            "call_args": ", arg0.buf, arg0.len",
-            "count_args": 1,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "ComputeSha1",
+            ], 
+            "c_function": "OrthancPluginComputeSha1", 
+            "call_args": ", arg0.buf, arg0.len", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "ComputeSha1", 
             "tuple_format": "\"s*\", &arg0"
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGenerateUuid",
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GenerateUuid",
+            "args": [], 
+            "c_function": "OrthancPluginGenerateUuid", 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GenerateUuid", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "query",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "query", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginCreateFindMatcher",
-            "call_args": ", arg0.buf, arg0.len",
-            "count_args": 1,
-            "has_args": true,
-            "return_object": "OrthancPluginFindMatcher",
-            "return_sdk_class": "OrthancPluginFindMatcher",
-            "return_sdk_type": "object",
-            "short_name": "CreateFindMatcher",
+            ], 
+            "c_function": "OrthancPluginCreateFindMatcher", 
+            "call_args": ", arg0.buf, arg0.len", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_object": "OrthancPluginFindMatcher", 
+            "return_sdk_class": "OrthancPluginFindMatcher", 
+            "return_sdk_type": "object", 
+            "short_name": "CreateFindMatcher", 
             "tuple_format": "\"s*\", &arg0"
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGetPeers",
-            "return_object": "OrthancPluginPeers",
-            "return_sdk_class": "OrthancPluginPeers",
-            "return_sdk_type": "object",
-            "short_name": "GetPeers",
+            "args": [], 
+            "c_function": "OrthancPluginGetPeers", 
+            "return_object": "OrthancPluginPeers", 
+            "return_sdk_class": "OrthancPluginPeers", 
+            "return_sdk_type": "object", 
+            "short_name": "GetPeers", 
             "tuple_format": "\"\", "
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "path",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "path", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginAutodetectMimeType",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_sdk_type": "const char *",
-            "return_static_string": true,
-            "short_name": "AutodetectMimeType",
+            ], 
+            "c_function": "OrthancPluginAutodetectMimeType", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_sdk_type": "const char *", 
+            "return_static_string": true, 
+            "short_name": "AutodetectMimeType", 
             "tuple_format": "\"s\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = NULL",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "name",
+                    "initialization": " = NULL", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "name", 
                     "sdk_type": "const char *"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "f",
-                    "python_type": "float",
-                    "sdk_name": "value",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "f", 
+                    "python_type": "float", 
+                    "sdk_name": "value", 
                     "sdk_type": "float"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg2",
-                    "orthanc_cast": "static_cast<OrthancPluginMetricsType>(arg2)",
-                    "python_format": "l",
-                    "python_type": "long int",
-                    "sdk_enumeration": "OrthancPluginMetricsType",
-                    "sdk_name": "type",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg2", 
+                    "orthanc_cast": "static_cast<OrthancPluginMetricsType>(arg2)", 
+                    "python_format": "l", 
+                    "python_type": "long int", 
+                    "sdk_enumeration": "OrthancPluginMetricsType", 
+                    "sdk_name": "type", 
                     "sdk_type": "enumeration"
                 }
-            ],
-            "c_function": "OrthancPluginSetMetricsValue",
-            "call_args": ", arg0, arg1, static_cast<OrthancPluginMetricsType>(arg2)",
-            "count_args": 3,
-            "has_args": true,
-            "return_sdk_type": "void",
-            "return_void": true,
-            "short_name": "SetMetricsValue",
+            ], 
+            "c_function": "OrthancPluginSetMetricsValue", 
+            "call_args": ", arg0, arg1, static_cast<OrthancPluginMetricsType>(arg2)", 
+            "count_args": 3, 
+            "has_args": true, 
+            "return_sdk_type": "void", 
+            "return_void": true, 
+            "short_name": "SetMetricsValue", 
             "tuple_format": "\"sfl\", &arg0, &arg1, &arg2"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "H",
-                    "python_type": "unsigned short",
-                    "sdk_name": "group",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "H", 
+                    "python_type": "unsigned short", 
+                    "sdk_name": "group", 
                     "sdk_type": "uint16_t"
-                },
-                {
-                    "initialization": " = 0",
-                    "name": "arg1",
-                    "orthanc_cast": "arg1",
-                    "python_format": "H",
-                    "python_type": "unsigned short",
-                    "sdk_name": "element",
+                }, 
+                {
+                    "initialization": " = 0", 
+                    "name": "arg1", 
+                    "orthanc_cast": "arg1", 
+                    "python_format": "H", 
+                    "python_type": "unsigned short", 
+                    "sdk_name": "element", 
                     "sdk_type": "uint16_t"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "privateCreator",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "privateCreator", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginGetTagName",
-            "call_args": ", arg0, arg1, arg2",
-            "count_args": 3,
-            "has_args": true,
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GetTagName",
+            ], 
+            "c_function": "OrthancPluginGetTagName", 
+            "call_args": ", arg0, arg1, arg2", 
+            "count_args": 3, 
+            "has_args": true, 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GetTagName", 
             "tuple_format": "\"HHs\", &arg0, &arg1, &arg2"
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "buffer",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "buffer", 
                     "sdk_type": "const_void_pointer_with_size"
                 }
-            ],
-            "c_function": "OrthancPluginCreateDicomInstance",
-            "call_args": ", arg0.buf, arg0.len",
-            "count_args": 1,
-            "has_args": true,
-            "return_object": "OrthancPluginDicomInstance",
-            "return_sdk_class": "OrthancPluginDicomInstance",
-            "return_sdk_type": "object",
-            "short_name": "CreateDicomInstance",
+            ], 
+            "c_function": "OrthancPluginCreateDicomInstance", 
+            "call_args": ", arg0.buf, arg0.len", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_object": "OrthancPluginDicomInstance", 
+            "return_sdk_class": "OrthancPluginDicomInstance", 
+            "return_sdk_type": "object", 
+            "short_name": "CreateDicomInstance", 
             "tuple_format": "\"s*\", &arg0"
-        },
+        }, 
         {
             "args": [
                 {
-                    "name": "arg0",
-                    "orthanc_cast": "arg0.buf, arg0.len",
-                    "python_format": "s*",
-                    "python_type": "Py_buffer",
-                    "release": "PyBuffer_Release(&arg0);",
-                    "sdk_name": "buffer",
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0.buf, arg0.len", 
+                    "python_format": "s*", 
+                    "python_type": "Py_buffer", 
+                    "release": "PyBuffer_Release(&arg0);", 
+                    "sdk_name": "buffer", 
                     "sdk_type": "const_void_pointer_with_size"
-                },
-                {
-                    "initialization": " = NULL",
-                    "name": "arg2",
-                    "orthanc_cast": "arg2",
-                    "python_format": "s",
-                    "python_type": "const char*",
-                    "sdk_name": "transferSyntax",
+                }, 
+                {
+                    "initialization": " = NULL", 
+                    "name": "arg2", 
+                    "orthanc_cast": "arg2", 
+                    "python_format": "s", 
+                    "python_type": "const char*", 
+                    "sdk_name": "transferSyntax", 
                     "sdk_type": "const char *"
                 }
-            ],
-            "c_function": "OrthancPluginTranscodeDicomInstance",
-            "call_args": ", arg0.buf, arg0.len, arg2",
-            "count_args": 2,
-            "has_args": true,
-            "return_object": "OrthancPluginDicomInstance",
-            "return_sdk_class": "OrthancPluginDicomInstance",
-            "return_sdk_type": "object",
-            "short_name": "TranscodeDicomInstance",
+            ], 
+            "c_function": "OrthancPluginTranscodeDicomInstance", 
+            "call_args": ", arg0.buf, arg0.len, arg2", 
+            "count_args": 2, 
+            "has_args": true, 
+            "return_object": "OrthancPluginDicomInstance", 
+            "return_sdk_class": "OrthancPluginDicomInstance", 
+            "return_sdk_type": "object", 
+            "short_name": "TranscodeDicomInstance", 
             "tuple_format": "\"s*s\", &arg0, &arg2"
-        },
+        }, 
         {
             "args": [
                 {
-                    "initialization": " = 0",
-                    "name": "arg0",
-                    "orthanc_cast": "arg0",
-                    "python_format": "k",
-                    "python_type": "unsigned long",
-                    "sdk_name": "size",
+                    "initialization": " = 0", 
+                    "name": "arg0", 
+                    "orthanc_cast": "arg0", 
+                    "python_format": "k", 
+                    "python_type": "unsigned long", 
+                    "sdk_name": "size", 
                     "sdk_type": "uint32_t"
                 }
-            ],
-            "c_function": "OrthancPluginCreateMemoryBuffer",
-            "call_args": ", arg0",
-            "count_args": 1,
-            "has_args": true,
-            "return_bytes": true,
-            "return_sdk_type": "OrthancPluginMemoryBuffer *",
-            "short_name": "CreateMemoryBuffer",
+            ], 
+            "c_function": "OrthancPluginCreateMemoryBuffer", 
+            "call_args": ", arg0", 
+            "count_args": 1, 
+            "has_args": true, 
+            "return_bytes": true, 
+            "return_sdk_type": "OrthancPluginMemoryBuffer *", 
+            "short_name": "CreateMemoryBuffer", 
             "tuple_format": "\"k\", &arg0"
-        },
+        }, 
         {
-            "args": [],
-            "c_function": "OrthancPluginGenerateRestApiAuthorizationToken",
-            "return_dynamic_string": true,
-            "return_sdk_type": "char *",
-            "short_name": "GenerateRestApiAuthorizationToken",
+            "args": [], 
+            "c_function": "OrthancPluginGenerateRestApiAuthorizationToken", 
+            "return_dynamic_string": true, 
+            "return_sdk_type": "char *", 
+            "short_name": "GenerateRestApiAuthorizationToken", 
             "tuple_format": "\"\", "
         }
     ]