Why the const-cast?