Modify Memory_Allocate prototype