Const correctness fix.