Cleaning of the device