IDEX-1530: Use node#setUserData to keep tree elements