Add indexing class