Scope? of(String? id) { if (id == null) return null; if (_directory.containsKey(id)) return _directory[id]!.last; return null; }