Shamelessly ripped off pt-clj-fn-args-to-defs