code: function (smd) {
                  // zyp format by default.
                  var ret = new ZypSMDReader(smd, this.config.resolver);
                  if (!smd.SMDVersion) {
                      //not zyp then fail.
                      throw new Error("Argument is not an SMD.");
                  }
                  return ret;
              }
docs: Retrieves a reader capable of handling the passed service descriptor.
  
  @param {Object} smd - the service descriptor to retrieve a reader for.