Before only needs txn, not request
refactor, add Type to Writer interface so we can easily tell the connection type. (this breaks compilation, will fix)