Added more general forms of WriteStart and WriteStop.