Updated restify functionality