A wrapper for local storage.