refactor super-coq.