Add escape function.