Added support for PDOStatement::fetchObject() and PDO::FETCH_CLASS.