Added missing const qualifiers