Add optimistic memory allocation routines.