Religious canon was divided into 七部 7 sections during the Southern dynasties by the Celestial Masters. Non specific designations were used for the divinities of the most sublime station by the Celestial Masters. 道門定制 Daomen dingzhi was a religious texts composed in the Song dynasty. Buddhism, Celestial Masters and fangshi all contributed to the religious canon of Lingbao. Celestial Master petitions to divinities were copied by the canon of the Lingbao and fangshi rites were also copied by them. Sichuan was the origin of the Celestial Masters. Different beliefs were held by the different groups of Daoists. 天師治儀 Tianshi zhiyi.