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