Added methods for configuring auto-indexing. Closes #3