purging generator/iterator code, fixes #13