Refine structure.