Currently it’s quite fiddly, making sure all the keys/names arrays are up to date so it still functions as expected.

If it used a set and delete handler it could handle all that internally. Or if there was some special methods we could use like .addValue() and it would figure out what kind of value it is–property, node, function–and handle it correctly.

Of course, I’m working on a plugin now to handle this for people. 😜