Central for the Muslim Turks was the search for God in the world, but could only be found with a "pure heart". Usually, this state could only be attained after death. This striving for God and finding God by a transformation through death is also found in Rumi's Masnavi. Accordingly, dying would transform a lifeform into a higher being, until it returns into an eon. The prophets and angels have been integrated into the universalistic understanding of God. Ibn Arabi interpreted this from the metaphysics of the Quran. According to Heydar Amuli, who was strongly influenced by Ibn Arabis metaphysics, angels ("malaika") are representations of God's beautiful names, while the devils ("shayatin") are representing the majestic names of God. Another important aspect of belief is the ancestor cult, also in the form of saint veneration. Equality of gender from the Pre-Islamic period of Turks usually remained accepted and women were allowed to participate on religious gatherings without hijab.