According to David McMahan, the literary style of the Mahāyāna sūtras reveals how these texts were mainly composed as written works and how they also needed to legitimate themselves to other Buddhists. They used different literary and narrative ways to defend the legitimacy of these texts as Buddha word. Mahāyāna sūtras such as the "Gaṇḍavyūha" also often criticize early Buddhist figures, such as Sariputra for lacking knowledge and goodness, and thus, these elders or śrāvaka are seen as not intelligent enough to receive the Mahāyāna teachings, while more the advanced elite, the bodhisattvas, are depicted as those who can see the highest teachings.