Template tweaks for class and devotions (#2, #3).