Convert to using object-assign.