I think you could avoid calling `GlobalTransaction.prettyPrint` most of the time (with trace disabled) if you stored a GlobalTransaction reference here.