Add primary keys.