Added allocator interface