How to change tech location to unit or hero?


I noticed that in the “Change technology Location” effect, there are options to select units or heroes, but these all seem to have no effect. Only buildings actually work. How can I make this happen?