Check driver class instead of config setting