Manage symbol scope automatically