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.