Add getters/setters for index names.
Add missing code comments.