Add PKs to master tables.