Add write command.