Backward compatible transactions

Fix #361