Allow parent to be specified for indexing