Removed unused clean function