Limiting or prohibiting a use or division of real property for the protection of public health and safety, such as fire and building codes, health and sanitation regulations, traffic control, liquor controls solid or hazardous waste regulations, and pollution control regulations; (b) Limiting or prohibiting a use or division of real property commonly and historically recognized as a public nuisan