Fix problem with ScopeManager being null.