Implemented soft-clean (#66)