Remove cptr pointers from everywhere