Fixed deprecated in subnet template.