Fix of SVM class to inherit from Model and Block