Solved by mariosasko in post #2 
              
              
                Replace the line model.classifier = New_Classifier with model.classifier = New_Classifier() (just append () at the end) so you actually create an instance of the module.