Allow to address targets in "when" using string.