 As the doctrine of Purgatory gained importance in the late Middle Ages, the number of chapelries, priests, and masses for the dead prayed within them, designed to speed the passage of souls to Heaven, grew rapidly.The number of altars dedicated to saints, who could intercede in this process, also increased dramatically.St.