Simplified clojure code.