In some preindustrial urban traditions , basic municipal functions such as protection , social regulation of births and marriages , cleaning and upkeep are handled informally by neighborhoods and not by urban governments ; this pattern is well documented for historical Islamic cities .
In some early urban traditions , basic municipal functions such as protection , marriages , cleaning and repairs are done by neighborhoods .