code: private void applyDefinitionsDocumentExtension(Context context) {
          extensionRegistry.getDefinitionsDocumentExtensions().forEach(extension -> extension.apply(context));
      }
docs: Apply extension context to all DefinitionsContentExtension
  
  @param context context