Added PDO extending support