Stash/sync api

Synchronous API for synchronous stores.