Currently the undecorated classes migration decorates base classes if no explicit constructor is defined on all classes in the inheritance chain. We only want to decorate base classes which define a constructor that is inherited. Additionally for best practice, all classes in between the class that inherits the constructor and the one that defines it are also decorated. PR Close #32319