Add some const qualifier where possible.