Added support for other db drivers.