Add write option to TWI interface.