(re)added deprecated set/getVariableType for back compatibility