Fixes and improvements for use as the session backend as well.