Getting ready for symbol analysis. Replacing variables by refs to symbol.