Neighbourhoods are typically generated by social interaction among people living near one another. In this sense they are local social units larger than households not directly under the control of city or state officials. In some preindustrial urban traditions, basic municipal functions such as protection, social regulation of births and marriages, cleaning and upkeep are handled informally by neighbourhoods and not by urban governments; this pattern is well documented for historical Islamic cities.[6]