Validate, test, and document the ref/index/changesInIndex options.