Replace string methods with #set configs