Abstract common functionality in the post iterators.