                              (rest libspec))
                            (symbol (str prefix "." libspec))))
         normalize-libspec-vector (fn [libspec]
-                                   (if (prefix-form? libspec)
+                                   (if (helpers/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 (get-ns-component ~ns-form ~key))]
     ~@body))

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

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