Fix the scope.
Merge all the symbols together into a NamedSymbolDefinition.