    SanitizedContent$ContentKind/TEXT :text
    SanitizedContent$ContentKind/URI :uri})
 
-(def ^:private content-kind-enum (set/map-invert content-kind))
+(def ^:private content-kind-enum
+  "A map of happy little symbols to ContentKind enums."
+  (set/map-invert content-kind))
 
 (defn render
   "Given a parsed set of templates, renders the named template with the given

    "text/plain; charset=utf-8"))

(def ^:private content-kind
  {SanitizedContent$ContentKind/ATTRIBUTES :attributes
   SanitizedContent$ContentKind/CSS :css
   SanitizedContent$ContentKind/HTML :html

  (reset! template-cache cache))

(def ^:private opts
  "Default to requiring autoescaped templates."
  (doto (SoyGeneralOptions.)
    (.setStrictAutoescapingRequired true)))

(defn- parse-uncached
  "Returns a compiled set of templates from the given files."
  [files]
  (let [builder (SoyFileSet/builder)]
    (run! #(.add builder (io/file (io/resource %))) files)
