Removing TTValue casting when storing nodes into table