Add support for arbitrary functors to CrashRecoveryContext.