Fix const correctness warning.