add eltype methods for iterators