Target definition is generated programmatically, using a service. Target
template and rendered are deleted.