Minion helper functions, custom allocator.