Added ActivityGrade indexing; not tested yet.