this makes the code cleaner and more idiomatic
this does require plugins to use the private member to access the
session, especially for the test suite, but there are ways of avoiding
that for third-party plugins: a module-level can be used and
configured with the static method, for example.
↧