Adding refs to csv.