.named() on endpoint javascript class constructors with empty args now uses unique string