First working draft of material.clj.