Update with @seanmonstar's suggestions for escaping.