Icon_template With Modern Templates Sensors

Is icon_template (Template - Home Assistant) supported in modern template sensors? When trying to load a new binary sensor with that property I get:

Invalid config for 'template' at configuration.yaml, line 716:
'icon_template' is an invalid option for 'template', 
check: binary_sensor->2->icon_template

Never mind. The icon property now accepts icon templates.