Fix the code formatting and remove the `addToSearchIndex()` reminder