Safer variable ref