Support for LocalStorage.