Fixed deprecated in host template.