Refine Swift usage to use de-structuring assignment.