Added ability to set different names for different targets.