public void setExtensions(Map<String, Object> exts) {
      if (exts != null && exts.size() > 0) {
         if (extensions == null) {
            extensions = new Extensions();
         }
         extensions.setExtensions(exts);
      }
      else {
         extensions = null;
      }
   }