Have the storage layer passed in instead of relying on localforage ourselves.