Rename .subkind to .subkinds
Abstract index writing process