Use auto instead of typedefs for iterators.