Add more boolean helpers and encapsulate escaping.