A few tweaks.
Added native interface to the allocator.