Make memory manager use void* to expose itself