References are converted properly