Added index for trait to ItemSpec