Correct bug of non-annotated subclasses.