[PATCH] include: Move AllocateAndGet* functions to public header