Avoid compilation warnings when no scopes are defined