Enhancements to IndexDatabase to improve extensibility.