Change the type of FnAllocState.