I'd prefer the names map/unmap instead of allocate/free. They are less confusable wih heap allocations.