Refinement cleanup