Reorder functions in clojure API.
Improve documentation slightly.