Make a class method so that Scope::Domain can reuse it.