Add back in most tree editing functions