Construct wrappers around api RESTful endpoints.