Request bugfixes for last commit. Minor reduce in complexity by checking for object in setSession.
Request bugfixes for last commit. Minor reduce in complexity by checking for object in setSession.

darya/framework