The water lines, drain masts, toilet drain lines, and waste water drains that are located in areas where they are exposed to freezing temperatures in flight are protected by electrically heated hoses or by ribbon or blanket heaters. All of these heaters have thermostats built into them that prevent them from overheating.