This requires a const cast in RNA, but it really is wrong to change the nodes and node trees in these callbacks.