Updated Custom indexes example.