Add documentation for `withTransaction()`.