Specified powers and competencies are also given to municipalities as set out in Part B of Schedule 4 and Part B of Schedule 5 of the Constitution of the Republic of South Africa, 1996. In this respect by-laws ensure that the community is protected and functions effectively.