Made some pointers const-pointers.