This is a nice way to fix the transaction nesting issues we were having.