Create inner class "CustomIndex" to avoid using Index.java, which
contains an error
Remove comment