Fixed warnings about changing constant data.