Refine conversion utility.