Add support for weaving targets as strings.