Add write_inout.