Convert some ptrptrs to use dynarray