Change const-ness of functions