Migration to PDO, contacts