eh, I'm just not a fan of collections in general, because it's slowish, but this is probably the better option because it's more explicit, and, as @y-p notes, allows for objects to register themselves.