Add prepared statements for pending and delete.