Add a local storage adapter.