Add index to notes and photos.