Fixed the definitions for local and sync storage.