This is the first step in removing the global allocator functions. Every internal function now only accesses its locally available set of allocators.