Merge pull request #3 from simonpasquier/fix-local-storage

Fix the storage.data state when engine is 'local'