Added clean() method