Improve Index docs

And fix a refcount error through the way.