Fix const qualifiers.