Warning and const fixes.