Add FR cleanup code.