Deprecates driver.def

Definitions files are unnecessary. Added some exports to the
code instead.