Add function to check 'RegisterIndices'.