That depends. How does that affect children and any ElementNode references we might be holding to said children? If we're at risk of double-freeing I'd rather put the burden on the user.

As long as we document the behaviour and back it up with some tests I don't have any objection in principle.