. . "duties and receive such fees and emoluments as may be fixed by law." . . .