Added public currentExampleIndex.