Added missing const modifiers