Some setup to allow for separation of concerns in session support.