[#47768501] replace a TODO with a comment explaining cleanupFunctions