Refactor dex.clj; add learnsets.