Removing unused functions in Refiner.