Use coroutines for attribute iterators