Added const to array arguments.