Removed some unused functions from variable.cpp, variable.h