Rewritten NetDBStorage access in Session constructor.