Improving heating-based components with foam