docs: public Metadata createMetadata(String templateName, Metadata metadata) {
          String scope = Metadata.scopeBasedOnType(templateName);
          return this.createMetadata(templateName, scope, metadata);
      }