Pass more complete information into index

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>