Replace references to deprecated strings