Simplify StmtIterator.