add flint memory functions.