Monks in negoro-ji temple were divided into ' gakuryo ' who were in charge of learning religious doctrines or rituals and ceremonies , and ' gyonin [buddhism ]' who were responsible for the maintenance of temple buildings and the defense of the temple . 根来寺の僧は教学や儀式をつかさどる「学侶」と堂塔の管理や寺の防衛をつかさどる「行人 (仏教)」と分けられた。