Fix ordering of load and extends tags.