Move serial arithmetic out of the broker.