Changed the ordering of the elements when saving proxy.