Use resolveRef