Makes IndexReader a attribute