Make API endpoints for rest of the classes.