Fixing RegistryNode's iterator/iterable logic.

It's not a huge bug. But still, it was a bad behavior.
Making getDomain overloading easier.