This should be `indexResource`. Please ensure there is a test for this.