code: function registerTypeByName(type) {
      if (registryLogger.isDebugEnabled()) {
          registryLogger.debug('Register Type \'%s\' by name [%s]', type.id, type.typeName);
      }
      typeByName[type.typeName] = type;
      return type;
  }
docs: Register a Type constructor by name