Added a cleaning mode.