Cute formatting. Is this a common thing? I think I'd prefer guard clauses like `if (!(xaTransaction instanceof WriteTransaction)) { return; }` though.