Add some missing const declarations.