Added a global registry for mallocators.