Base for restify API.