Add ScopeNameLevel and ScopeNameManager.