OP_WRITE optimization and simplification of WriteHandler