Other buildings such as court-houses, hospitals, and of course all religious houses and their granges, had chapels attached to them in medieval times ; but, from the very first, except in the case of exempt monasteries and their dependencies, the appointment of priests to serve such chapels was always subject to the control of the bishop, which remains the law of the Church to this day.