Introduce SymbolTable
Remove unused decl
Remove ScopeGetVariableAsBoolean
Remove ScopeDeleteScalars
Revert "Introduce SymbolTable"

This reverts commit 391ef20e3c751275557f43f1aa22a201bbf919d6.