semantic: Refactor classify to compile with volt.