Dinodex

Should only have dinodex stuff.
I see that this is recursive, but just use a private method with a different name. The `_rec` is confusing.