I think you
should not use #kind to instantiate new objects, but add
your own property to hold the class you want to instantiate.
That doesn't solve the problem that kind validation is borken for containers.
#kind is used for validation and that should remain like this. The
default for containers is Object, so it is a no-op that passes the
validation for all objects.
Lukas
--
Lukas Renggli