Extracted @all and @all_index.