Moved symbol, string scope into a new method.