The added type aliases are required by `std::iterator_traits`. Python iterators satisfy the `InputIterator` concept in C++.