Added clean functionality.