Hotfix to add back advance_begin and advance_end.