Added PDO support