Avoid creating decorators for class declared as abstract