                                          (symbol (str package "." class-name)))
                                        (rest import-spec)))
                                 import-spec))]
-    (some->> (get-ns-component ns-form :import)
+    (some->> (helpers/get-ns-component ns-form :import)
              rest ; drop :import
              (map expand-prefix-specs)
              flatten

                             (rest libspec))
                           (symbol (str prefix "." libspec))))
        normalize-libspec-vector (fn [libspec]
                                   (if (prefix-form? libspec)
                                     (let [prefix (first libspec)]
                                       (map (partial prepend-prefix prefix)
                                            (rest libspec)))

  "Bind the symbol libspecs to the libspecs extracted from the key in
  ns-form and execute body."
  [ns-form key & body]
  `(let [~'libspecs (rest (helpers/get-ns-component ~ns-form ~key))]
     ~@body))

(defn- extract-required-macros [libspec-vector]
