Fixed const-correctness.