Replace delete[] with deallocate()
Rename ResourceArchive to Bundle and *ResourceArchive to *Bundle