The overloads accepting a string will be deprecated soon, similar to other functions in TargetRegistry.