You handle MySQLPDODatabase above, but not here. Also, these checkers should probably be case insensitive (they feel like class names)