Added comment about passing schema to indexing function.