Add write support for Transaction