Remove constness of pointers