Added tx version field; minor clean-up.