Implement filter iterator and symbol iterator.