added index for schema labels to make accessing the labels efficient.