Fix the use of deleted fn.