Move synch helper method into session.
Fix regression.
Integrate localStore based store.
Fix regressions.