Refactor Driver enum.