Add replace and replaceAll to Text.