Add support for C++11 iterators