Add commonly-used iterator helpers.