Add allocator interface