diff --git a/src/clj_htmltopdf/core.clj b/src/clj_htmltopdf/core.clj
index 1255329..4f8bb34 100644
--- a/src/clj_htmltopdf/core.clj
+++ b/src/clj_htmltopdf/core.clj
@@ -17,7 +17,7 @@
[org.jsoup Jsoup]
[org.jsoup.helper W3CDom]
[org.jsoup.nodes Document]
- [org.jsoup.parser HtmlTreeBuilder Parser ParseSettings]))
+ [org.jsoup.parser Parser ParseSettings]))
(defn embed-image
"Reads an image (provided as a filename, InputStream or byte array) and encodes it as a base64 string suitable for
diff --git a/src/clj_htmltopdf/objects.clj b/src/clj_htmltopdf/objects.clj
index 3f5ddf4..8a98278 100644
--- a/src/clj_htmltopdf/objects.clj
+++ b/src/clj_htmltopdf/objects.clj
@@ -1,10 +1,8 @@
(ns clj-htmltopdf.objects
- (:require
- [clojure.string :as string])
(:import
[com.openhtmltopdf.extend FSObjectDrawer FSObjectDrawerFactory OutputDevice OutputDeviceGraphicsDrawer]
[com.openhtmltopdf.pdfboxout PdfRendererBuilder]
- [org.w3c.dom Element NamedNodeMap]))
+ [org.w3c.dom Element]))
(defn element-attrs->map
[^Element element]
diff --git a/src/clj_htmltopdf/watermark.clj b/src/clj_htmltopdf/watermark.clj
index 3d66d0e..ed713fb 100644
--- a/src/clj_htmltopdf/watermark.clj
+++ b/src/clj_htmltopdf/watermark.clj
@@ -2,11 +2,10 @@
(:require
[clojure.java.io :as io])
(:import
- [java.io File InputStream OutputStream]
+ [java.io InputStream OutputStream]
[org.apache.pdfbox.pdmodel PDDocument PDPage PDPageContentStream PDPageContentStream$AppendMode]
- [org.apache.pdfbox.pdmodel.common PDRectangle]
[org.apache.pdfbox.pdmodel.font PDType1Font PDFont]
- [org.apache.pdfbox.pdmodel.graphics.image PDImageXObject PDImage]
+ [org.apache.pdfbox.pdmodel.graphics.image PDImageXObject]
[org.apache.pdfbox.pdmodel.graphics.state PDExtendedGraphicsState]
[org.apache.pdfbox.util Matrix]))