Add clean methods to delete attributes used by the algorithm