Add subjects_index API + caching.