. "such duties as may be designated by ordinance [." . . .