Added xmlSafe() and replacePlaceholders() to exports