Extract escape method.