Move call-time pass-by-reference check to deprecated