Fix transaction ID logic (again), add session method entry / exit, add a documentation snippet.