Add "escape" method to exports.