Correct calling convention preserve constness.