add `getStmts` for StmtChunk