. "(4) Perform such other duties and functions and exercise such other powers as may be prescribed by law or ordinance." . . .