API: KeyValue storage