db drivers: added checking for required classes in constructors