At the moment of death, however, people took no chances: they confessed, made restitutions, endowed perpetual prayers for their souls, and often deprived their families by bequests to shrines, chapels, convents, hermits, and payments for pilgrimages by proxy.