Added output escaping.