Document S5 elements and index assignments