Add alternative memory management routines.