Added ability to specify escape method.