docs: public static CustomInfo getOrCreateCustomInfo(Message message) {
          CustomInfo customInfo = message.get(CustomInfo.class);
          if (customInfo == null) {
              customInfo = new CustomInfo();
              message.put(CustomInfo.class, customInfo);
          }
          return customInfo;
      }