Fill in missing indices, propagate data back out to calling script.