Added delete-model-class method to api