Add documentation for transaction behavior