
Making the UUID optional (rF221ed17fa27193086ec5c9201d48f7cd826e75a4) made the generated JavaScript code ignore the 3rd parameter. Apparently the constructor parameters are only for the mandatory properties, and the rest has to be set on a per-property basis.