Updated PDO with type parameters