Inline _register_iterator() helper function

It's a one liner that is only called from a single place.