Simplified WriteStmt.
Simplified WriteStmt.