          (reduce (fn [m [k v]] (assoc m k v)) {}))))
 
 
-(defn ^:export streamIntoIdentity [stage user crdt-id stream-eval-fns target]
+(defn ^:export streamORMapIdentity [stage user crdt-id stream-eval-fns target]
   (ormap-realize/stream-into-identity! stage [user crdt-id] (eval-fns->js stream-eval-fns) target))
 
+(defn ^:export streamLWWRIdentity [stage user crdt-id target]
+  (lwwr-realize/stream-into-atom! stage [user crdt-id] target))
 
 (defn ^:export createUUID [s]
   (cljs.core/uuid s))

                                 :onNode        on-node?
                                 :createStage   createStage
                                 :newMemStore   newMemStore
                                 :ORMap         #js {:createORMap        createORMap
                                                     :streamIntoIdentity streamIntoIdentity
                                                     :associate          associate}
                                 :clientConnect client-connect!
                                 :createUUID    cljs.core/uuid

  (let [opts (js->clj opts)]
    (promise (ormap-stage/create-ormap! stage :id (get opts "id") :description (get opts "description")))))


(defn ^:export createLWWR [stage opts]
  (let [opts (js->clj opts)]
    (promise (lwwr-stage/create-lwwr! stage :id (get opts "id") :description (get opts "description")))))

(defn ^:export setRegister [stage user crdt-id register]
  (promise (lwwr-stage/set-register! stage [user crdt-id] register)))

(defn ^:export associate
  [stage user crdt-id tx-key txs]
  (let [txs (js->clj txs)]
