Add missing const qualifiers