Use generators instead of lists.