Huge refactorings in SymbolTable.