Add method and argument const-ness when possible.