Updated to PDO for Compatibility reasons.