Adds persistence for the clojure layer