Three roads to salvation are recognised in principle, the intellectual gnosis of the old Upanishads and the Sāṃkhya, the "way of works" or performance of necessary social duties in a spirit of perfect surrender to God, and the "way of devotion," continuous loving worship and contemplation of God. In practice the first method is ignored as being too severe for average men; the second and third are recommended, as being suitable for all classes.