Added an escape method.