To place the law relating to dilapidations on a more satisfactory footing, the Ecclesiastical Dilapidations Act 1871 was passed. The buildings to which the act applies are defined to be such houses of residence, chancels, walls, fences and other buildings and things as the incumbent of the benefice is by law and custom bound to maintain in repair. In each diocese a surveyor is appointed by the archdeacons and rural deans subject to the approval of the bishop; and such surveyor shall by the direction of the bishop examine the buildings on the following occasions viz.