fixes build error with Leiningen 2.2 on Clojure 1.3
adds type hints to prevent reflection