Working implementation of dynamic driver import.

Fixes #158.