Adds ns info to variable deprecation warnings