The supervisors in their respective towns, the alderpersons of cities in their respective aldermanic districts, and the trustees of villages in their respective villages shall be fence viewers.