Refactored Default Allocator for the string object.