Added endpoint for obtaining classes from specific models.