     (let [^Context ctx (:catacumba/context context)]
       (if (.isEmpty this)
         (.next ctx)
-        (if-let [^DelegatedContext dc (hp/maybe-get ctx DelegatedContext)]
-          (.next ctx (Registry/single
-                      (DelegatedContext. (merge (.-data dc)
-                                                (.-data this)))))
-          (.next ctx (Registry/single this))))))
+        (if-let [^DelegatedContext dc (reg/maybe-get ctx DelegatedContext)]
+          (.next ctx (reg/single (DelegatedContext. (merge (.-data dc)
+                                                           (.-data this)))))
+          (.next ctx (reg/single this))))))
 
   java.nio.file.Path
   (-handle-response [path context]

            [catacumba.stream :as stream]
            [catacumba.impl.helpers :as hp]
            [catacumba.impl.context :as ctx]
            [catacumba.impl.http :as http])
  (:import catacumba.impl.DelegatedContext
           catacumba.impl.ContextHolder

           io.netty.buffer.Unpooled
           io.netty.buffer.ByteBuf))

;; --- Base Handling Protocols

(defprotocol ISend
  (-send [data ctx] "Send data."))
