Revert "Converted index to a data getter"

This reverts commit 2e5100b0fe2819218b5a3661d9183641aa96ab7f.
CDN Formatting