add support for restify v2