Updated the wrapper for the restify changes