Fix @genty decorating subclasses and base classes