Add "const" to more function parameters