The comment before this stanza in index() is "Do some maintenance while we're in here", so it seemed like a nice fit.