Change @outlist and %only_C_inlist into corresponding references