PDO implementation.