DRYing viewers' indexes.